diff --git a/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature b/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature index b153f6faf..8f3081a75 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature @@ -2,7 +2,7 @@ Feature: auth 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-30 @@ -179,7 +179,7 @@ Feature: auth @smokeTest # 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 - 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" | endpoint | | /ocs/v1.php/cloud/users | diff --git a/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsPOSTAuth.feature b/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsPOSTAuth.feature index fd3b34436..661fdbd53 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsPOSTAuth.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsPOSTAuth.feature @@ -2,7 +2,7 @@ Feature: auth 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature b/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature index 3de47db44..ae52760ff 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature @@ -4,7 +4,8 @@ Feature: sharing @issue-ocis-reva-356 # after fixing all issues delete this Scenario and use the one from oC10 core 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 using OCS API version "" And user "Alice" has shared file "textfile0.txt" with user "Brian" diff --git a/tests/acceptance/features/apiOcisSpecific/apiShareOperations-accessToShare.feature b/tests/acceptance/features/apiOcisSpecific/apiShareOperations-accessToShare.feature index afcc2da74..ebe86a43f 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiShareOperations-accessToShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiShareOperations-accessToShare.feature @@ -2,10 +2,14 @@ Feature: sharing 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 | | Alice | | 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiShareOperations-gettingShares.feature b/tests/acceptance/features/apiOcisSpecific/apiShareOperations-gettingShares.feature index 2007a366a..4a35971b4 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiShareOperations-gettingShares.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiShareOperations-gettingShares.feature @@ -2,15 +2,14 @@ Feature: sharing Background: - Given these users have been created with default attributes and skeleton files: - | username | - | Alice | - | Brian | + Given user "Alice" has been created with default attributes and without skeleton files + And user "Brian" has been created with default attributes and without skeleton files @issue-ocis-reva-374 # 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 - Given using OCS API version "" + Given user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" + And using OCS API version "" And user "Carol" has been created with default attributes and without skeleton files 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 @@ -25,7 +24,9 @@ Feature: sharing @issue-ocis-reva-372 # after fixing all issues delete this Scenario and use the one from oC10 core Scenario Outline: getting all the shares inside the folder - Given using 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 "" 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 Then the OCS status code should be "" diff --git a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink1-createPublicLinkShare.feature b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink1-createPublicLinkShare.feature index 227bbce62..ad3848bf4 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink1-createPublicLinkShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink1-createPublicLinkShare.feature @@ -3,7 +3,7 @@ Feature: create a public link share 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 # after fixing all issues make the oC10 scenario like this one, and delete this scenario diff --git a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-updatePublicLinkShare.feature b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-updatePublicLinkShare.feature index e14ed5e6a..fcba331e4 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-updatePublicLinkShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-updatePublicLinkShare.feature @@ -3,7 +3,8 @@ Feature: update a public link share Background: 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature index 320ce525b..9e00ee813 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature @@ -3,7 +3,8 @@ Feature: upload to a public link share 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiShareUpdate-updateShare.feature b/tests/acceptance/features/apiOcisSpecific/apiShareUpdate-updateShare.feature index ce0aecd17..33b9cfc40 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiShareUpdate-updateShare.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiShareUpdate-updateShare.feature @@ -3,7 +3,7 @@ Feature: sharing Background: 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFile.feature b/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFile.feature index 9ea72a893..10eea11ec 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFile.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFile.feature @@ -6,7 +6,8 @@ Feature: move (rename) file Background: 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 # after fixing all issues delete this Scenario and use the one from oC10 core diff --git a/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFileToBlacklistedName.feature b/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFileToBlacklistedName.feature index 9f82828cf..00b4763be 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFileToBlacklistedName.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiWebdavMove2-moveFileToBlacklistedName.feature @@ -6,7 +6,8 @@ Feature: users cannot move (rename) a file to a blacklisted name Background: 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 # after fixing all issues delete this Scenario and use the one from oC10 core