[test-only] fix test: secret file drop (#8435)
* fix test: secret file drop * Update uploadToPublicLinkShare.feature
This commit is contained in:
@@ -8,22 +8,7 @@ Feature: upload to a public link share
|
||||
Background:
|
||||
Given user "Alice" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "FOLDER"
|
||||
|
||||
@smokeTest @issue-1267
|
||||
Scenario: uploading same file to a public upload-only share multiple times via new API
|
||||
# The new API does the auto rename in upload-only folders
|
||||
Given user "Alice" has created a public link share with settings
|
||||
| path | FOLDER |
|
||||
| permissions | create |
|
||||
| password | %public% |
|
||||
When the public uploads file "test.txt" with password "%public%" and content "test" using the new public WebDAV API
|
||||
When the public uploads file "test.txt" with password "%public%" and content "test2" using the new public WebDAV API
|
||||
Then the HTTP status code of responses on all endpoints should be "201"
|
||||
And the following headers should match these regular expressions
|
||||
| ETag | /^"[a-f0-9:\.]{1,32}"$/ |
|
||||
And the content of file "/FOLDER/test.txt" for user "Alice" should be "test"
|
||||
And the content of file "/FOLDER/test (2).txt" for user "Alice" should be "test2"
|
||||
|
||||
|
||||
|
||||
Scenario Outline: uploading file to a public upload-only share using public API that was deleted does not work
|
||||
Given using <dav-path-version> DAV path
|
||||
|
||||
Reference in New Issue
Block a user