diff --git a/tests/acceptance/expected-failures-API-on-OCIS-storage.md b/tests/acceptance/expected-failures-API-on-OCIS-storage.md index d8c8d7e298e..180a79a92eb 100644 --- a/tests/acceptance/expected-failures-API-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-API-on-OCIS-storage.md @@ -223,6 +223,10 @@ cannot share a folder with create permission #### [Public link enforce permissions](https://github.com/owncloud/ocis/issues/1269) +- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:10](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L10) +- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:21](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L21) +- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:31](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L31) +- [coreApiSharePublicLink1/accessToPublicLinkShare.feature:47](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature#L47) - [coreApiSharePublicLink1/createPublicLinkShare.feature:354](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature#L354) #### [download previews of other users file](https://github.com/owncloud/ocis/issues/2071) diff --git a/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/accessToPublicLinkShare.feature index 5bb5ef0891b..5dd24d6924b 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 @files_sharing-app-required @issue-ocis-reva-282 @issue-4623 @notToImplementOnOCIS +@api @public_link_share-feature-required @files_sharing-app-required @issue-ocis-reva-282 Feature: accessing a public link share Background: diff --git a/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature index 7812cde73dc..607bafc2b77 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature @@ -14,16 +14,16 @@ Feature: changing a public link share Given user "Alice" has created a public link share with settings | path | /PARENT | | permissions | | - When the public deletes file "parent.txt" from the last public link share using the public WebDAV API + When the public deletes file "parent.txt" from the last public link share using the new public WebDAV API Then the HTTP status code should be "" And as "Alice" file "PARENT/parent.txt" exist Examples: - | permissions | http-status-code | should-or-not | public-webdav-api-version | - | read | 403 | should | new | - | read,create | 403 | should | new | - | create | 403 | should | new | - | read,update,create,delete | 204 | should not | new | + | permissions | http-status-code | should-or-not | + | read | 403 | should | + | read,create | 403 | should | + | create | 403 | should | + | read,update,create,delete | 204 | should not | Scenario: Public link share permissions work correctly for renaming and share permissions read,update,create,delete using the public WebDAV API diff --git a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature index 9dab792f27d..a3470e74a9a 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature @@ -347,8 +347,8 @@ Feature: create a public link share And user "Alice" has created a public link share with settings | path | PARENT | | permissions | read | - And user "Alice" has deleted folder "PARENT" - When the public download of file "/parent.txt" from inside the last public link shared folder using the new public WebDAV API should fail with HTTP status code "404" + When user "Alice" has deleted folder "PARENT" + Then the public download of file "/parent.txt" from inside the last public link shared folder using the new public WebDAV API should fail with HTTP status code "404" @issue-ocis-reva-292 @issue-ocis-reva-199 Scenario: try to download from a public share that has upload only permissions using the public webdav api