add checking trash

This commit is contained in:
Viktor Scharf
2022-10-17 14:04:46 +02:00
parent f442970f12
commit 333d48e658
3 changed files with 4 additions and 1 deletions

View File

@@ -41,4 +41,4 @@ The expected failures in this file are from features in the owncloud/ocis repo.
### [Copy or move on an existing resource doesn't create a new version but deletes instead](https://github.com/owncloud/ocis/issues/4797)
- [apiSpacesShares/moveSpaces.feature:304](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/moveSpaces.feature#L304)
- [apiSpacesShares/copySpaces.feature:711](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/copySpaces.feature#L711)
- [apiSpacesShares/copySpaces.feature:748](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/copySpaces.feature#L748)
- [apiSpacesShares/copySpaces.feature:749](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/copySpaces.feature#L749)

View File

@@ -724,6 +724,7 @@ Feature: copy file
When user "Alice" downloads version of the file "/newfolder/insideSpace.txt" with the index "1" of the space "Project" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded content should be "old content version 2"
And as "Alice" file "insideSpace.txt" should not exist in the trashbin of the space "Project"
Scenario: Copying a file from Personal to Shares Jail with an option "keep both"
@@ -766,3 +767,4 @@ Feature: copy file
When user "Brian" downloads version of the file "/newfolder/personal.txt" with the index "2" of the space "Shares Jail" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded content should be "old content version 1"
And as "Brian" file "insideSpace.txt" should not exist in the trashbin of the space "Personal"

View File

@@ -317,4 +317,5 @@ Feature: move (rename) file
When user "Brian" downloads version of the file "/folder/testfile.txt" with the index "2" of the space "Personal" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded content should be "old content version 1"
And as "Brian" file "testfile.txt" should exist in the trashbin of the space "Personal"