refactor PROPFIND tests

This commit is contained in:
Saw-jan
2023-01-05 15:00:32 +05:45
parent fc69534c73
commit d2ebb10339
3 changed files with 4 additions and 8 deletions

View File

@@ -15,10 +15,11 @@ Feature: delay post-processing of uploaded files
| /remote.php/dav/files/%username%/file.txt |
| /dav/spaces/%spaceid%/file.txt |
@issue-5327
Scenario Outline: user sends PROPFIND request to the file while it's still being processed
When user "Alice" requests "<dav_path>" with "PROPFIND" without retrying
Then the HTTP status code should be "425"
Then the HTTP status code should be "207"
And the value of the item "//d:response/d:propstat/d:status" in the response should be "HTTP/1.1 425 TOO EARLY"
Examples:
| dav_path |
| /remote.php/webdav/file.txt |