mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 02:38:32 -05:00
add tests to check 425 too early behavior
add tests to check 425 too early behavior add delay postprocessing suite pipeline add step def
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@api
|
||||
Feature: delay post-processing of uploaded files
|
||||
|
||||
Background:
|
||||
Given user "Alice" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has uploaded file with content "uploaded content" to "/file.txt"
|
||||
|
||||
|
||||
Scenario Outline: user sends GET request to the file while it's still being processed
|
||||
When user "Alice" requests "<dav_path>" with "GET" without retrying
|
||||
Then the HTTP status code should be "425"
|
||||
Examples:
|
||||
| dav_path |
|
||||
| /remote.php/webdav/file.txt |
|
||||
| /remote.php/dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
|
||||
|
||||
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"
|
||||
Examples:
|
||||
| dav_path |
|
||||
| /remote.php/webdav/file.txt |
|
||||
| /remote.php/dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
Reference in New Issue
Block a user