diff --git a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md index 0170f03fe79..581a578db07 100644 --- a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md @@ -25,3 +25,7 @@ The expected failures in this file are from features in the owncloud/ocis repo. ### [Changing personal drive quota on another user as admin is not possible](https://github.com/owncloud/ocis/issues/4325) - [apiSpaces/changeSpaces.feature:221](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changeSpaces.feature#L221) +### [copy to overwrite (file and folder) from Personal to Shares Jail behaves differently](https://github.com/owncloud/ocis/issues/4393) +- [apiSpaces/copySpaces.feature:489](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/copySpaces.feature#L489) +- [apiSpaces/copySpaces.feature:506](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/copySpaces.feature#L506) + diff --git a/tests/acceptance/features/apiSpaces/copySpaces.feature b/tests/acceptance/features/apiSpaces/copySpaces.feature index 0a248b16947..d0c4a9cfe5c 100644 --- a/tests/acceptance/features/apiSpaces/copySpaces.feature +++ b/tests/acceptance/features/apiSpaces/copySpaces.feature @@ -452,7 +452,7 @@ Feature: copy file | 31 | | 17 | - @files_sharing-app-required @issue-ocis-reva-11 + Scenario: Copying a file to a folder with no permissions Given using spaces DAV path And user "Brian" has created folder "/testshare" @@ -494,16 +494,14 @@ Feature: copy file And user "Brian" has shared folder "BRIAN-Folder" with user "Alice" And user "Alice" has accepted share "/BRIAN-Folder" offered by user "Brian" When user "Alice" copies file "/textfile1.txt" from space "Personal" to "/BRIAN-Folder" inside space "Shares Jail" using the WebDAV API - #response code is 500 Then the HTTP status code should be "204" And the content of file "/BRIAN-Folder" inside space "Shares Jail" for user "Alice" should be "ownCloud test text file 1" - And for user "Alice" folder "BRIAN-FOLDER" of the space "Shares Jail" should not contain these files: + And for user "Alice" folder "BRIAN-Folder" of the space "Shares Jail" should not contain these files: | /sample-folder | And as "Alice" file "/textfile1.txt" should exist And user "Alice" should not have any received shares - @issue-ocis-1239 Scenario: copy a folder over the top of an existing file received as a user share Given using spaces DAV path And user "Alice" has created folder "/FOLDER" @@ -512,7 +510,6 @@ Feature: copy file And user "Brian" has shared file "/sharedfile1.txt" with user "Alice" And user "Alice" has accepted share "/sharedfile1.txt" offered by user "Brian" When user "Alice" copies folder "/FOLDER" from space "Personal" to "/sharedfile1.txt" inside space "Shares Jail" using the WebDAV API - #response code is 403 Then the HTTP status code should be "204" And as "Alice" folder "/FOLDER/sample-folder" should exist And for user "Alice" folder "sharedfile1.txt" of the space "Shares Jail" should contain these files: @@ -520,7 +517,6 @@ Feature: copy file And user "Alice" should not have any received shares - @issue-ocis-1239 Scenario: copy a folder into another folder at different level which is received as a user share Given using spaces DAV path And user "Brian" has created folder "BRIAN-FOLDER" @@ -539,7 +535,7 @@ Feature: copy file And the response when user "Alice" gets the info of the last share should include | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 + Scenario: copy a file into a folder at different level received as a user share Given using spaces DAV path And user "Brian" has created folder "BRIAN-FOLDER" @@ -562,7 +558,6 @@ Feature: copy file | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 Scenario: copy a file into a file at different level received as a user share Given using spaces DAV path And user "Brian" has created folder "BRIAN-FOLDER" @@ -584,7 +579,6 @@ Feature: copy file | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 Scenario: copy a folder into a file at different level received as a user share Given using spaces DAV path And user "Alice" has created folder "FOLDER" @@ -608,7 +602,6 @@ Feature: copy file | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 Scenario: copy a folder into another folder at different level which is received as a group share Given using spaces DAV path And group "grp1" has been created @@ -631,7 +624,6 @@ Feature: copy file | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 Scenario: copy a file into a folder at different level received as a group share Given using spaces DAV path And group "grp1" has been created @@ -656,7 +648,7 @@ Feature: copy file And the response when user "Alice" gets the info of the last share should include | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 + Scenario: copy a file into a file at different level received as a group share Given using spaces DAV path And group "grp1" has been created @@ -681,7 +673,7 @@ Feature: copy file And the response when user "Alice" gets the info of the last share should include | file_target | /Shares/BRIAN-FOLDER | - @issue-ocis-1239 + Scenario: copy a folder into a file at different level received as a group share Given using spaces DAV path And group "grp1" has been created