Files

24 lines
973 B
Gherkin
Raw Permalink Normal View History

2023-01-02 17:26:54 +05:45
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
2023-01-02 17:26:54 +05:45
2023-06-05 17:18:44 +05:45
Scenario Outline: uploading file into a moved folder
2023-07-12 12:42:32 +05:45
Given using <dav-path-version> DAV path
2023-01-02 17:26:54 +05:45
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
2023-01-02 17:26:54 +05:45
And the content of file "/test/test-moved/textfile.txt" for user "Alice" should be "uploaded content"
Examples:
2023-07-12 12:42:32 +05:45
| dav-path-version |
| old |
| new |
| spaces |
2023-01-02 17:26:54 +05:45