diff --git a/tests/acceptance/features/apiContract/copy.feature b/tests/acceptance/features/apiContract/copy.feature index a727d81021e..e6b2dacc9ca 100644 --- a/tests/acceptance/features/apiContract/copy.feature +++ b/tests/acceptance/features/apiContract/copy.feature @@ -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 |