Do not use skeleton files in local API tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
Feature: auth
|
Feature: auth
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given user "Alice" has been created with default attributes and skeleton files
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
|
||||||
@issue-ocis-reva-29
|
@issue-ocis-reva-29
|
||||||
@issue-ocis-reva-30
|
@issue-ocis-reva-30
|
||||||
@@ -179,7 +179,7 @@ Feature: auth
|
|||||||
@smokeTest
|
@smokeTest
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
Scenario: using OCS as normal user (username does not have a capital letter) with wrong password
|
Scenario: using OCS as normal user (username does not have a capital letter) with wrong password
|
||||||
Given user "brian" has been created with default attributes and skeleton files
|
Given user "brian" has been created with default attributes and without skeleton files
|
||||||
When user "brian" requests these endpoints with "GET" using password "invalid"
|
When user "brian" requests these endpoints with "GET" using password "invalid"
|
||||||
| endpoint |
|
| endpoint |
|
||||||
| /ocs/v1.php/cloud/users |
|
| /ocs/v1.php/cloud/users |
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Feature: auth
|
Feature: auth
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given user "Alice" has been created with default attributes and skeleton files
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
|
||||||
@issue-ocis-ocs-26 @issue-ocis-reva-30
|
@issue-ocis-ocs-26 @issue-ocis-reva-30
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,8 @@ Feature: sharing
|
|||||||
@issue-ocis-reva-356
|
@issue-ocis-reva-356
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
Scenario Outline: delete a share
|
Scenario Outline: delete a share
|
||||||
Given user "Alice" has been created with default attributes and skeleton files
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt"
|
||||||
And user "Brian" has been created with default attributes and without skeleton files
|
And user "Brian" has been created with default attributes and without skeleton files
|
||||||
And using OCS API version "<ocs_api_version>"
|
And using OCS API version "<ocs_api_version>"
|
||||||
And user "Alice" has shared file "textfile0.txt" with user "Brian"
|
And user "Alice" has shared file "textfile0.txt" with user "Brian"
|
||||||
|
|||||||
@@ -2,10 +2,14 @@
|
|||||||
Feature: sharing
|
Feature: sharing
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given these users have been created with default attributes and skeleton files:
|
Given these users have been created with default attributes and without skeleton files:
|
||||||
| username |
|
| username |
|
||||||
| Alice |
|
| Alice |
|
||||||
| Brian |
|
| Brian |
|
||||||
|
And user "Alice" has uploaded file with content "ownCloud test text file 0 Alice" to "/textfile0.txt"
|
||||||
|
And user "Alice" has uploaded file with content "ownCloud test text file 1 Alice" to "/textfile1.txt"
|
||||||
|
And user "Brian" has uploaded file with content "ownCloud test text file 0 Brian" to "/textfile0.txt"
|
||||||
|
And user "Brian" has uploaded file with content "ownCloud test text file 1 Brian" to "/textfile1.txt"
|
||||||
|
|
||||||
@issue-ocis-reva-260
|
@issue-ocis-reva-260
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
@@ -2,15 +2,14 @@
|
|||||||
Feature: sharing
|
Feature: sharing
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given these users have been created with default attributes and skeleton files:
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
| username |
|
And user "Brian" has been created with default attributes and without skeleton files
|
||||||
| Alice |
|
|
||||||
| Brian |
|
|
||||||
|
|
||||||
@issue-ocis-reva-374
|
@issue-ocis-reva-374
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
Scenario Outline: Get a share with a user that didn't receive the share
|
Scenario Outline: Get a share with a user that didn't receive the share
|
||||||
Given using OCS API version "<ocs_api_version>"
|
Given user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt"
|
||||||
|
And using OCS API version "<ocs_api_version>"
|
||||||
And user "Carol" has been created with default attributes and without skeleton files
|
And user "Carol" has been created with default attributes and without skeleton files
|
||||||
And user "Alice" has shared file "textfile0.txt" with user "Brian"
|
And user "Alice" has shared file "textfile0.txt" with user "Brian"
|
||||||
When user "Carol" gets the info of the last share using the sharing API
|
When user "Carol" gets the info of the last share using the sharing API
|
||||||
@@ -25,7 +24,9 @@ Feature: sharing
|
|||||||
@issue-ocis-reva-372
|
@issue-ocis-reva-372
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
Scenario Outline: getting all the shares inside the folder
|
Scenario Outline: getting all the shares inside the folder
|
||||||
Given using OCS API version "<ocs_api_version>"
|
Given user "Alice" has created folder "/PARENT"
|
||||||
|
And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt"
|
||||||
|
And using OCS API version "<ocs_api_version>"
|
||||||
And user "Alice" has shared file "PARENT/parent.txt" with user "Brian"
|
And user "Alice" has shared file "PARENT/parent.txt" with user "Brian"
|
||||||
When user "Alice" gets all the shares inside the folder "PARENT/parent.txt" using the sharing API
|
When user "Alice" gets all the shares inside the folder "PARENT/parent.txt" using the sharing API
|
||||||
Then the OCS status code should be "<ocs_status_code>"
|
Then the OCS status code should be "<ocs_status_code>"
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
Feature: create a public link share
|
Feature: create a public link share
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given user "Alice" has been created with default attributes and skeleton files
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
|
||||||
@issue-37605 @skipOnOcis-OCIS-Storage
|
@issue-37605 @skipOnOcis-OCIS-Storage
|
||||||
# after fixing all issues make the oC10 scenario like this one, and delete this scenario
|
# after fixing all issues make the oC10 scenario like this one, and delete this scenario
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,8 @@ Feature: update a public link share
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given using OCS API version "1"
|
Given using OCS API version "1"
|
||||||
And user "Alice" has been created with default attributes and skeleton files
|
And user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
And user "Alice" has created folder "/FOLDER"
|
||||||
|
|
||||||
@issue-ocis-reva-243 @issue-ocis-reva-349 @issue-37653
|
@issue-ocis-reva-243 @issue-ocis-reva-349 @issue-37653
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,8 @@
|
|||||||
Feature: upload to a public link share
|
Feature: upload to a public link share
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given user "Alice" has been created with default attributes and skeleton files
|
Given user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
And user "Alice" has created folder "/FOLDER"
|
||||||
|
|
||||||
@issue-ocis-reva-290
|
@issue-ocis-reva-290
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Feature: sharing
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given using OCS API version "1"
|
Given using OCS API version "1"
|
||||||
And user "Alice" has been created with default attributes and skeleton files
|
And user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
|
||||||
@skipOnOcis-EOS-Storage @toFixOnOCIS @issue-ocis-reva-243 @skipOnOcis-OCIS-Storage
|
@skipOnOcis-EOS-Storage @toFixOnOCIS @issue-ocis-reva-243 @skipOnOcis-OCIS-Storage
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ Feature: move (rename) file
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given using OCS API version "1"
|
Given using OCS API version "1"
|
||||||
And user "Alice" has been created with default attributes and skeleton files
|
And user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
And user "Alice" has uploaded file with content "some welcome data" to "/welcome.txt"
|
||||||
|
|
||||||
@issue-ocis-reva-211 @skipOnOcis-OCIS-Storage
|
@issue-ocis-reva-211 @skipOnOcis-OCIS-Storage
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
+2
-1
@@ -6,7 +6,8 @@ Feature: users cannot move (rename) a file to a blacklisted name
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given using OCS API version "1"
|
Given using OCS API version "1"
|
||||||
And user "Alice" has been created with default attributes and skeleton files
|
And user "Alice" has been created with default attributes and without skeleton files
|
||||||
|
And user "Alice" has uploaded file with content "some welcome data" to "/welcome.txt"
|
||||||
|
|
||||||
@issue-ocis-reva-211 @skipOnOcis-OCIS-Storage
|
@issue-ocis-reva-211 @skipOnOcis-OCIS-Storage
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||||
|
|||||||
Reference in New Issue
Block a user