2023-08-16 09:29:00 +05:45
|
|
|
@skipOnReva
|
2021-01-28 11:14:56 +05:45
|
|
|
Feature: upload file
|
|
|
|
|
As a user
|
2021-01-28 11:56:07 +05:45
|
|
|
I want to be able to upload files when passwords are stored with the full hash difficulty
|
|
|
|
|
So that I can store and share files securely between multiple client systems
|
|
|
|
|
|
|
|
|
|
Note - this feature is run in CI with ACCOUNTS_HASH_DIFFICULTY set to the default for production
|
|
|
|
|
See https://github.com/owncloud/ocis/issues/1542 and https://github.com/owncloud/ocis/pull/839
|
2021-01-28 11:14:56 +05:45
|
|
|
|
2022-11-01 15:13:14 +05:45
|
|
|
|
2021-01-28 11:14:56 +05:45
|
|
|
Scenario Outline: upload a file and check download content
|
2024-03-18 17:55:29 +05:45
|
|
|
Given using OCS API version "<ocs-api-version>"
|
2021-01-28 11:14:56 +05:45
|
|
|
And user "Alice" has been created with default attributes and without skeleton files
|
2023-07-12 12:42:32 +05:45
|
|
|
And using <dav-path-version> DAV path
|
2021-01-28 11:14:56 +05:45
|
|
|
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:
|
2024-03-18 17:55:29 +05:45
|
|
|
| ocs-api-version | dav-path-version |
|
2023-07-12 12:42:32 +05:45
|
|
|
| 1 | old |
|
|
|
|
|
| 1 | new |
|
2024-11-07 14:12:16 +05:45
|
|
|
| 1 | spaces |
|
2023-07-12 12:42:32 +05:45
|
|
|
| 2 | old |
|
|
|
|
|
| 2 | new |
|
2024-11-07 14:12:16 +05:45
|
|
|
| 2 | spaces |
|