test: add test for copying folder with Transfer-Encoding: chunked header

Signed-off-by: Ashim-Stha <ashimshrestha2384@gmail.com>
This commit is contained in:
Ashim-Stha committed 2025-08-04 10:08:34 +05:45
1 parent 4bec7e2cdd
commit a63e759d5b
1 file changed
+11
@@ -25,3 +25,14 @@ Feature: Copy test
| Access-Control-Allow-Origin | /^%base_url%$/ |
| X-Request-Id | %request_id_pattern% |
@issue-10809
Scenario: copy a folder with Transfer-Encoding: chunked header
Given user "Alice" has created a folder "folder1" in space "new-space"
And user "Alice" has created a folder "folder2" in space "new-space"
When user "Alice" copies folder "folder2" from space "new-space" to "folder1/folder2" inside space "new-space" with following headers using the WebDAV API
| header | value |
# NOTE: requires system curl version >= 8.12.0
| Transfer-Encoding | chunked |
Then the HTTP status code should be "201"
And for user "Alice" folder "folder1" of the space "new-space" should contain these entries:
| folder2 |