fix tests. remove from expected failures
This commit is contained in:
@@ -789,7 +789,7 @@ Feature: copy file
|
||||
| newfolder/personal.txt |
|
||||
| newfolder/personal (1).txt |
|
||||
|
||||
@issue-4797
|
||||
|
||||
Scenario: copying a file from Personal to Shares with an option "replace"
|
||||
Given the administrator has given "Alice" the role "Space Admin" using the settings api
|
||||
And user "Alice" has created a space "Project" with the default quota using the GraphApi
|
||||
@@ -811,7 +811,4 @@ Feature: copy file
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded content should be "old content version 2"
|
||||
And for user "Brian" the content of the file "/newfolder/personal.txt" of the space "Shares" should be "new content"
|
||||
When user "Brian" downloads version of the file "/newfolder/personal.txt" with the index "2" of the space "Shares" 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"
|
||||
|
||||
@@ -318,22 +318,18 @@ Feature: move (rename) file
|
||||
And for user "Brian" the space "Personal" should not contain these entries:
|
||||
| /testshare/testsubfolder |
|
||||
|
||||
@issue-4797
|
||||
|
||||
Scenario: overwriting a file while moving
|
||||
Given user "Brian" has created folder "/folder"
|
||||
And user "Brian" has uploaded file with content "old content version 1" to "/folder/testfile.txt"
|
||||
And user "Brian" has uploaded file with content "old content version 2" to "/folder/testfile.txt"
|
||||
And user "Brian" has uploaded file with content "new data" to "/testfile.txt"
|
||||
And user "Brian" has uploaded file with content "some content" to "/folder/testfile.txt"
|
||||
And user "Brian" has uploaded file with content "old data version 1" to "/testfile.txt"
|
||||
And user "Brian" has uploaded file with content "new data version 2" to "/testfile.txt"
|
||||
When user "Brian" overwrites file "/testfile.txt" from space "Personal" to "folder/testfile.txt" inside space "Personal" while moving using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
And the content of file "/folder/testfile.txt" for user "Brian" should be "new data"
|
||||
And the content of file "/folder/testfile.txt" for user "Brian" should be "new data version 2"
|
||||
And for user "Brian" the space "Personal" should not contain these entries:
|
||||
| /testfile.txt |
|
||||
When user "Brian" downloads version of the file "/folder/testfile.txt" with the index "1" 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 2"
|
||||
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 the downloaded content should be "old data version 1"
|
||||
And as "Brian" file "testfile.txt" should exist in the trashbin of the space "Personal"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user