From 484f333c612092a7af2c17e2986ef983017e03c0 Mon Sep 17 00:00:00 2001 From: amrita Date: Thu, 4 May 2023 11:37:42 +0545 Subject: [PATCH] Remove unneccessary tag --- .drone.star | 2 +- .../expected-failures-API-on-OCIS-storage.md | 30 ++++++------ .../features/coreApiMain/checksums.feature | 2 +- .../createShareReceivedInMultipleWays.feature | 2 +- .../createShareToSharesFolder.feature | 8 ++-- .../accessToPublicLinkShare.feature | 2 +- .../changingPublicLinkShare.feature | 2 +- .../createPublicLinkShare.feature | 2 +- .../createPublicLinkShareToShares.feature | 2 +- .../copyFromPublicLink.feature | 2 +- .../multilinkSharing.feature | 2 +- .../reShareAsPublicLinkToSharesNewDav.feature | 2 +- .../updatePublicLinkShare.feature | 2 +- .../uploadToPublicLinkShare.feature | 2 +- .../updateShare.feature | 4 +- .../trashbinFilesFolders.feature | 21 +++++---- .../trashbinRestore.feature | 2 +- .../coreApiVersions/fileVersions.feature | 46 +++++++++---------- .../restoreVersion.feature | 2 +- .../getFileProperties.feature | 16 ++----- 20 files changed, 74 insertions(+), 79 deletions(-) diff --git a/.drone.star b/.drone.star index 597915d22a..db572eae44 100644 --- a/.drone.star +++ b/.drone.star @@ -962,7 +962,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4): def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4): early_fail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False - filterTags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage&&~@carddav" % ("OC" if storage == "owncloud" else "OCIS") + filterTags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS") expectedFailuresFile = "%s/tests/acceptance/expected-failures-API-on-%s-storage.md" % (dirs["base"], storage.upper()) return { diff --git a/tests/acceptance/expected-failures-API-on-OCIS-storage.md b/tests/acceptance/expected-failures-API-on-OCIS-storage.md index fba28f950b..cfcee9add5 100644 --- a/tests/acceptance/expected-failures-API-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-API-on-OCIS-storage.md @@ -27,11 +27,11 @@ _ocdav: double-check the webdav property parsing when custom namespaces are used #### [Cannot set custom webDav properties](https://github.com/owncloud/product/issues/264) - [coreApiWebdavProperties2/getFileProperties.feature:341](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L341) -- [coreApiWebdavProperties2/getFileProperties.feature:346](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L346) -- [coreApiWebdavProperties2/getFileProperties.feature:351](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L351) -- [coreApiWebdavProperties2/getFileProperties.feature:381](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L381) -- [coreApiWebdavProperties2/getFileProperties.feature:386](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L386) -- [coreApiWebdavProperties2/getFileProperties.feature:391](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L391) +- [coreApiWebdavProperties2/getFileProperties.feature:342](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L342) +- [coreApiWebdavProperties2/getFileProperties.feature:347](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L347) +- [coreApiWebdavProperties2/getFileProperties.feature:377](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L377) +- [coreApiWebdavProperties2/getFileProperties.feature:378](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L378) +- [coreApiWebdavProperties2/getFileProperties.feature:383](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature#L383) #### [file versions do not report the version author](https://github.com/owncloud/ocis/issues/2914) @@ -710,19 +710,19 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers - [coreApiTrashbin/trashbinFilesFolders.feature:100](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L100) - [coreApiTrashbin/trashbinFilesFolders.feature:136](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L136) - [coreApiTrashbin/trashbinFilesFolders.feature:159](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L159) -- [coreApiTrashbin/trashbinFilesFolders.feature:305](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L305) -- [coreApiTrashbin/trashbinFilesFolders.feature:306](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L306) -- [coreApiTrashbin/trashbinFilesFolders.feature:307](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L307) -- [coreApiTrashbin/trashbinFilesFolders.feature:312](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L312) -- [coreApiTrashbin/trashbinFilesFolders.feature:313](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L313) -- [coreApiTrashbin/trashbinFilesFolders.feature:314](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L314) +- [coreApiTrashbin/trashbinFilesFolders.feature:308](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L308) +- [coreApiTrashbin/trashbinFilesFolders.feature:309](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L309) +- [coreApiTrashbin/trashbinFilesFolders.feature:310](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L310) - [coreApiTrashbin/trashbinFilesFolders.feature:315](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L315) - [coreApiTrashbin/trashbinFilesFolders.feature:316](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L316) - [coreApiTrashbin/trashbinFilesFolders.feature:317](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L317) -- [coreApiTrashbin/trashbinFilesFolders.feature:334](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L334) -- [coreApiTrashbin/trashbinFilesFolders.feature:354](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L354) -- [coreApiTrashbin/trashbinFilesFolders.feature:408](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L408) -- [coreApiTrashbin/trashbinFilesFolders.feature:445](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L445) +- [coreApiTrashbin/trashbinFilesFolders.feature:318](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L318) +- [coreApiTrashbin/trashbinFilesFolders.feature:319](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L319) +- [coreApiTrashbin/trashbinFilesFolders.feature:320](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L320) +- [coreApiTrashbin/trashbinFilesFolders.feature:337](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L337) +- [coreApiTrashbin/trashbinFilesFolders.feature:357](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L357) +- [coreApiTrashbin/trashbinFilesFolders.feature:411](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L411) +- [coreApiTrashbin/trashbinFilesFolders.feature:448](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L448) #### [Default capabilities for normal user and admin user not same as in oC-core](https://github.com/owncloud/ocis/issues/1285) - [coreApiCapabilities/capabilities.feature:11](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiCapabilities/capabilities.feature#L11) diff --git a/tests/acceptance/features/coreApiMain/checksums.feature b/tests/acceptance/features/coreApiMain/checksums.feature index 1bbd38966c..b9785b1844 100644 --- a/tests/acceptance/features/coreApiMain/checksums.feature +++ b/tests/acceptance/features/coreApiMain/checksums.feature @@ -320,7 +320,7 @@ Feature: checksums | dav_version | | spaces | - @skipOnStorage:ceph @skipOnStorage:scality @files_primary_s3-issue-224 @issue-1291 + @skipOnStorage:ceph @skipOnStorage:scality @issue-1291 Scenario Outline: uploading a file with invalid SHA1 checksum overwriting an existing file Given using DAV path And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature index da748c232d..30b573eeeb 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature @@ -166,7 +166,7 @@ Feature: share resources where the sharee receives the share in multiple ways | 1 | /zzzfolder | /zzzfolder (2) | 100 | | 2 | /zzzfolder | /zzzfolder (2) | 200 | - @skipOnEncryptionType:user-keys @encryption-issue-132 @skipOnLDAP @skipOnGraph + @skipOnLDAP @skipOnGraph Scenario Outline: share with a group and then add a user to that group that already has a file with the shared name Given using OCS API version "" And user "Carol" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature index 654fb3daab..7e7d8003d3 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature @@ -8,7 +8,7 @@ Feature: sharing Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files - @smokeTest @skipOnEncryptionType:user-keys + @smokeTest Scenario Outline: creating a share of a file with a user, the default permissions are read(1)+update(2)+can-share(16) Given using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files @@ -38,7 +38,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest @skipOnEncryptionType:user-keys @issue-2133 + @smokeTest @issue-2133 Scenario Outline: creating a share of a file containing commas in the filename, with a user, the default permissions are read(1)+update(2)+can-share(16) Given using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files @@ -468,7 +468,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @skipOnEncryptionType:user-keys @encryption-issue-132 @skipOnLDAP @skipOnGraph + @skipOnLDAP @skipOnGraph Scenario Outline: share with a group and then add a user to that group Given using OCS API version "" And these users have been created with default attributes and without skeleton files: @@ -531,7 +531,7 @@ Feature: sharing | 1 | 100 | /textfile0.txt | | 2 | 200 | /textfile0.txt | - @skipOnFilesClassifier @issue-files-classifier-291 @issue-2146 + @issue-2146 Scenario: share a file by multiple channels and download from sub-folder and direct file share Given these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature index 8d7c15ba77..f89202aafc 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: accessing a public link share Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature index b3911bdc0b..344fd86460 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required @issue-1276 @issue-1277 @issue-2079 @issue-1269 +@api @issue-1276 @issue-1277 @issue-2079 @issue-1269 Feature: changing a public link share diff --git a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature index 8e4919acd3..4989907768 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required @issue-1276 @issue-1277 +@api @issue-1276 @issue-1277 Feature: create a public link share diff --git a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature index 51eb86c312..1db0dd9651 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: create a public link share when share_folder is set to Shares Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature b/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature index 60ca101328..ab0ad04aa0 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: copying from public link share Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature b/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature index dd6d68c18e..6db40c1332 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: multilinksharing Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink2/reShareAsPublicLinkToSharesNewDav.feature b/tests/acceptance/features/coreApiSharePublicLink2/reShareAsPublicLinkToSharesNewDav.feature index d06952d408..9f61b69da0 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/reShareAsPublicLinkToSharesNewDav.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/reShareAsPublicLinkToSharesNewDav.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: reshare as public link As a user I want to create public link shares from files/folders shared with me diff --git a/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature index e3c32cd8b9..e289c98015 100644 --- a/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required +@api Feature: update a public link share Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink3/uploadToPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink3/uploadToPublicLinkShare.feature index 7c35754b68..606047026d 100644 --- a/tests/acceptance/features/coreApiSharePublicLink3/uploadToPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink3/uploadToPublicLinkShare.feature @@ -1,4 +1,4 @@ -@api @public_link_share-feature-required @issue-1276 @issue-1277 @issue-2079 +@api @issue-1276 @issue-1277 @issue-2079 Feature: upload to a public link share diff --git a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature index 95bb8f396e..0a717a1b37 100644 --- a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature +++ b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature @@ -123,7 +123,7 @@ Feature: sharing | 1 | 200 | create,delete | | 2 | 400 | create,delete | - @skipOnFilesClassifier @issue-files-classifier-291 @toFixOnOCIS @issue-2201 + @issue-2201 Scenario Outline: Share ownership change after moving a shared file outside of an outer share Given these users have been created with default attributes and without skeleton files: | username | @@ -194,7 +194,7 @@ Feature: sharing | path | | /Carol-folder | - @toFixOnOCIS @toFixOnOcV10 @issue-1253 @issue-1224 @issue-1225 + @issue-1253 @issue-1224 @issue-1225 #after fixing all the issues merge this scenario with the one below Scenario Outline: API responds with a full set of parameters when owner changes the permission of a share Given using OCS API version "" diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature index 5fa6aa8cfa..f5f036046d 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature @@ -158,7 +158,7 @@ Feature: files and folders exist in the trashbin after being deleted | dav-path | | spaces | - @issue-3561 @skipOnLDAP @skip_on_objectstore + @issue-3561 @skipOnLDAP Scenario Outline: Listing other user's trashbin is prohibited Given using DAV path And user "testtrashbin100" has been created with default attributes and without skeleton files @@ -176,7 +176,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | 404 | | spaces | 404 | - @issue-3561 @smokeTest @skipOnLDAP @skip_on_objectstore + @issue-3561 @smokeTest @skipOnLDAP Scenario Outline: Listing other user's trashbin is prohibited with multiple files on trashbin Given using DAV path And user "testtrashbin101" has been created with default attributes and without skeleton files @@ -197,7 +197,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | 404 | | spaces | 404 | - @issue-3561 @skipOnLDAP @skip_on_objectstore @provisioning_api-app-required + @issue-3561 @skipOnLDAP @provisioning_api-app-required Scenario Outline: Listing other user's trashbin is prohibited for newly recreated user with same name Given using DAV path And user "testtrashbin102" has been created with default attributes and without skeleton files @@ -223,20 +223,23 @@ Feature: files and folders exist in the trashbin after being deleted | new | 404 | | spaces | 404 | - @issue-3561 @skipOnLDAP @skip_on_objectstore + @issue-3561 @skipOnLDAP Scenario Outline: Listing other user's empty unused trashbin is prohibited Given using DAV path And user "testtrashbinempty" has been created with default attributes and without skeleton files And user "testtrashbinempty" has uploaded file "filesForUpload/textfile.txt" to "/textfile1.txt" When user "Alice" tries to list the trashbin content for user "testtrashbinempty" - Then the HTTP status code should be "" + Then the HTTP status code should be "404" + Examples: + | dav-path | + | new | + @personalSpace Examples: - | dav-path | status-code | - | new | 404 | - | spaces | 404 | + | dav-path | + | spaces | - @issue-3561 @skipOnLDAP @skip_on_objectstore + @issue-3561 @skipOnLDAP Scenario Outline: Listing non-existent user's trashbin is prohibited Given using DAV path When user "Alice" tries to list the trashbin content for user "testtrashbinnotauser" diff --git a/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature b/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature index 93d85733cf..b8209ddcfa 100644 --- a/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature +++ b/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature @@ -68,7 +68,7 @@ Feature: Restore deleted files/folders | old | | new | - @skipOnFilesClassifier @issue-files-classifier-291 + Scenario Outline: a file is deleted and restored to a new destination Given using DAV path And user "Alice" has created folder "/PARENT" diff --git a/tests/acceptance/features/coreApiVersions/fileVersions.feature b/tests/acceptance/features/coreApiVersions/fileVersions.feature index b9ff765250..98e3f4bdd9 100644 --- a/tests/acceptance/features/coreApiVersions/fileVersions.feature +++ b/tests/acceptance/features/coreApiVersions/fileVersions.feature @@ -13,7 +13,7 @@ Feature: dav-versions Then the HTTP status code should be "201" And the version folder of file "/davtest.txt" for user "Alice" should contain "0" elements - + Scenario: Upload file and no version is available using various chunking methods (except new chunking) When user "Alice" uploads file "filesForUpload/davtest.txt" to filenames based on "/davtest.txt" with all mechanisms except new chunking using the WebDAV API Then the HTTP status code should be "200" @@ -29,7 +29,7 @@ Feature: dav-versions And the version folder of file "/davtest.txt" for user "Alice" should contain "1" element And the content length of file "/davtest.txt" with version index "1" for user "Alice" in versions folder should be "8" - + Scenario: Upload a file twice and versions are available using various chunking methods (except new chunking) When user "Alice" uploads file "filesForUpload/davtest.txt" to filenames based on "/davtest.txt" with all mechanisms except new chunking using the WebDAV API And user "Alice" uploads file "filesForUpload/davtest.txt" to filenames based on "/davtest.txt" with all mechanisms except new chunking using the WebDAV API @@ -57,7 +57,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/davtest.txt" for user "Alice" should be "Test Content." - @smokeTest @skipOnStorage:ceph @skipOnStorage:scality @files_primary_s3-issue-278 + @smokeTest @skipOnStorage:ceph @skipOnStorage:scality Scenario: Restore a file back to bigger content and check, if the content is now in the current file Given user "Alice" has uploaded file with content "Back To The Future." to "/davtest.txt" And user "Alice" has uploaded file with content "Update Content." to "/davtest.txt" @@ -66,7 +66,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/davtest.txt" for user "Alice" should be "Back To The Future." - @smokeTest @skipOnStorage:ceph @files_primary_s3-issue-161 + @smokeTest @skipOnStorage:ceph Scenario Outline: Uploading a chunked file does create the correct version that can be restored Given using DAV path And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" @@ -82,7 +82,7 @@ Feature: dav-versions | dav-path | status-code | | old | 201 | - @skipOnStorage:ceph @skipOnStorage:scality @files_primary_s3-issue-156 + @skipOnStorage:ceph @skipOnStorage:scality Scenario: Restore a file and check, if the content and correct checksum is now in the current file Given user "Alice" has uploaded file with content "AAAAABBBBBCCCCC" and checksum "MD5:45a72715acdd5019c5be30bdbb75233e" to "/davtest.txt" And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/davtest.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" @@ -127,7 +127,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/renamedfile.txt" for user "Alice" should be "old content" - + Scenario: User can access version number after moving a file Given user "Alice" has created folder "testFolder" And user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt" @@ -146,7 +146,7 @@ Feature: dav-versions Then the HTTP status code should be "207" And the number of versions should be "0" - + Scenario: the number of etag elements in response changes according to version of the file Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt" And user "Alice" has uploaded file with content "version 1" to "textfile0.txt" @@ -174,7 +174,7 @@ Feature: dav-versions | Content-Disposition | attachment; filename*=UTF-8''textfile0.txt; filename="textfile0.txt" | And the downloaded content should be "uploaded content" - @skipOnStorage:ceph @skipOnStorage:scality @files_primary_s3-issue-463 + @skipOnStorage:ceph @skipOnStorage:scality Scenario: download an old version of a restored file Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt" And user "Alice" has uploaded file with content "version 1" to "textfile0.txt" @@ -249,14 +249,14 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/davtest.txt" for user "Alice" should be "Old Test Content." - + Scenario: Upload the same file twice with the same mtime and a version is available Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API When user "Alice" uploads file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API Then the HTTP status code should be "204" And the version folder of file "/file.txt" for user "Alice" should contain "1" element - + Scenario: Upload the same file more than twice with the same mtime and only one version is available Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API @@ -264,7 +264,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the version folder of file "/file.txt" for user "Alice" should contain "1" element - + Scenario: Upload the same file twice with the same mtime and no version after restoring Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API @@ -272,7 +272,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the version folder of file "/file.txt" for user "Alice" should contain "0" element - + Scenario: sharer of a file can see the old version information when the sharee changes the content of the file Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "First content" to "sharefile.txt" @@ -284,7 +284,7 @@ Feature: dav-versions When user "Brian" gets the number of versions of file "/Shares/sharefile.txt" Then the HTTP status code should be "403" - + Scenario: sharer of a file can restore the original content of a shared file after the file has been modified by the sharee Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "First content" to "sharefile.txt" @@ -296,7 +296,7 @@ Feature: dav-versions And the content of file "/sharefile.txt" for user "Alice" should be "First content" And the content of file "/Shares/sharefile.txt" for user "Brian" should be "First content" - + Scenario: sharer can restore a file inside a shared folder modified by sharee Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/sharingfolder" @@ -309,7 +309,7 @@ Feature: dav-versions And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content" And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Brian" should be "First content" - + Scenario: sharee cannot see a version of a file inside a shared folder when modified by sharee Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/sharingfolder" @@ -322,7 +322,7 @@ Feature: dav-versions And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Brian" should be "Second content" And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "Second content" - + Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharer Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/sharingfolder" @@ -335,7 +335,7 @@ Feature: dav-versions And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content" And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Brian" should be "First content" - + Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharee Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/sharingfolder" @@ -348,7 +348,7 @@ Feature: dav-versions And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "old content" And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Brian" should be "old content" - + Scenario: sharer can restore a file inside a group shared folder modified by sharee Given user "Brian" has been created with default attributes and without skeleton files And user "Carol" has been created with default attributes and without skeleton files @@ -368,7 +368,7 @@ Feature: dav-versions And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Brian" should be "First content" And the content of file "/Shares/sharingfolder/sharefile.txt" for user "Carol" should be "First content" - + Scenario Outline: Moving a file (with versions) into a shared folder as the sharee and as the sharer Given using DAV path And user "Brian" has been created with default attributes and without skeleton files @@ -393,7 +393,7 @@ Feature: dav-versions | old | Brian | /testshare | | new | Brian | /testshare | - + Scenario Outline: Moving a file (with versions) out of a shared folder as the sharee and as the sharer Given using DAV path And user "Brian" has been created with default attributes and without skeleton files @@ -418,7 +418,7 @@ Feature: dav-versions | old | Brian | /testshare | | new | Brian | /testshare | - + Scenario: Receiver tries to get file versions of unshared file from the sharer Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" @@ -429,7 +429,7 @@ Feature: dav-versions Then the HTTP status code should be "404" And the value of the item "//s:exception" in the response about user "Alice" should be "Sabre\DAV\Exception\NotFound" - @skipOnStorage:ceph @files_primary_s3-issue-161 + @skipOnStorage:ceph Scenario: Receiver tries get file versions of shared file from the sharer Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" @@ -441,7 +441,7 @@ Feature: dav-versions When user "Brian" tries to get versions of file "textfile0.txt" from "Alice" Then the HTTP status code should be "403" - + Scenario: Receiver tries get file versions of shared file before receiving it Given user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature index c4c64e8f3f..0188bd0d14 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature @@ -6,7 +6,7 @@ Feature: propagation of etags when restoring a version of a file And using new DAV path And user "Alice" has been created with default attributes and without skeleton files - @skipOnStorage:ceph @skipOnStorage:scality @issue-files_primary_s3-387 + @skipOnStorage:ceph @skipOnStorage:scality Scenario: Restoring a file changes the etags of all parents Given user "Alice" has created folder "/upload" And user "Alice" has created folder "/upload/sub" diff --git a/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature b/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature index 5cc9926229..4d679dbd53 100644 --- a/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature +++ b/tests/acceptance/features/coreApiWebdavProperties2/getFileProperties.feature @@ -168,7 +168,7 @@ Feature: get file properties | dav_version | | spaces | - + Scenario Outline: A file that is shared to a user has a share-types property Given using DAV path And user "Brian" has been created with default attributes and without skeleton files @@ -194,7 +194,7 @@ Feature: get file properties | dav_version | | spaces | - + Scenario Outline: A file that is shared to a group has a share-types property Given using DAV path And group "grp1" has been created @@ -220,7 +220,7 @@ Feature: get file properties | dav_version | | spaces | - @public_link_share-feature-required + Scenario Outline: A file that is shared by link has a share-types property Given using DAV path And user "Alice" has created folder "/test" @@ -243,7 +243,7 @@ Feature: get file properties | dav_version | | spaces | - @skipOnLDAP @user_ldap-issue-268 @public_link_share-feature-required + @skipOnLDAP @user_ldap-issue-268 Scenario Outline: A file that is shared by user,group and link has a share-types property Given using DAV path And user "Brian" has been created with default attributes and without skeleton files @@ -339,10 +339,6 @@ Feature: get file properties Examples: | dav_version | | new | - - - Examples: - | dav_version | | old | @personalSpace @@ -379,10 +375,6 @@ Feature: get file properties Examples: | dav_version | | new | - - - Examples: - | dav_version | | old | @personalSpace