mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
19 lines
792 B
Gherkin
19 lines
792 B
Gherkin
@api
|
|
Feature: upload file
|
|
As a user
|
|
I want to be able to upload files
|
|
So that I can store and share files between multiple client systems
|
|
|
|
Scenario Outline: upload a file and check download content
|
|
Given using OCS API version "<ocs_api_version>"
|
|
And user "Alice" has been created with default attributes and without skeleton files
|
|
And using <dav_version> DAV path
|
|
When user "Alice" uploads file with content "uploaded content" to "/upload.txt" using the WebDAV API
|
|
Then the content of file "/upload.txt" for user "Alice" should be "uploaded content"
|
|
Examples:
|
|
| ocs_api_version | dav_version |
|
|
| 1 | old |
|
|
| 1 | new |
|
|
| 2 | old |
|
|
| 2 | new |
|