test: ensure share is available before performing actions

test: fix expected-failure lines
This commit is contained in:
Saw-jan
2024-07-26 15:19:33 +05:45
parent 24b940dfcc
commit 878c5f4075
38 changed files with 302 additions and 83 deletions
@@ -57,6 +57,7 @@ Feature: update files using file id
| sharee | Brian |
| shareType | user |
| permissionsRole | File Editor |
And user "Brian" has a share "textfile.txt" synced
When user "Brian" sends HTTP method "PUT" to URL "<dav-path>" with content "updated content"
Then the HTTP status code should be "204"
And for user "Alice" the content of the file "/textfile.txt" of the space "Personal" should be "updated content"
@@ -78,6 +79,7 @@ Feature: update files using file id
| sharee | Brian |
| shareType | user |
| permissionsRole | Editor |
And user "Brian" has a share "uploadFolder" synced
When user "Brian" sends HTTP method "PUT" to URL "<dav-path>" with content "updated content"
Then the HTTP status code should be "204"
And for user "Alice" the content of the file "uploadFolder/textfile.txt" of the space "Personal" should be "updated content"