Files
ocis/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToMoveFolder.feature
Lukas Hirt 9df76933da fix(proxy): [OCISDEV-330] add webdav without trailing slash
Added the `/webdav` endpoint without a trailing slash into the proxy default config.
This makes sure that requests to `/webdav` without a trailing slash are handled
by ocdav service instead of web service.
2025-09-22 11:54:54 +02:00

25 lines
973 B
Gherkin

Feature: move folders
As a user
I want to be able to move and upload files/folders
So that I can organise my data structure
Background:
Given user "Alice" has been created with default attributes
Scenario Outline: uploading file into a moved folder
Given using <dav-path-version> DAV path
And user "Alice" has created folder "/test"
And user "Alice" has created folder "/test-moved"
And user "Alice" has moved folder "/test-moved" to "/test/test-moved"
When user "Alice" uploads file with content "uploaded content" to "/test/test-moved/textfile.txt" using the TUS protocol on the WebDAV API
Then the HTTP status code should be "204"
And as "Alice" file "/test/test-moved/textfile.txt" should exist
And the content of file "/test/test-moved/textfile.txt" for user "Alice" should be "uploaded content"
Examples:
| dav-path-version |
| old |
| new |
| spaces |