-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[test-only] fix test: secret file drop #8435
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
@dragonchaser I fixed last test and deleted line from expected failures file https://github.com/owncloud/ocis/pull/8340/files#diff-3a67c616b0ac8adead10fbf21d7f2aff96dc8b7aa883b97a24b0dc865fde1e41 |
| permissions | create | | ||
| password | %public% | | ||
When the public uploads file "test.txt" with password "%public%" and content "test" using the new public WebDAV API | ||
Then the HTTP status code should be "201" | ||
And the content of file "/FOLDER/test.txt" for user "Alice" should be "test" | ||
When the public uploads file "test.txt" with password "%public%" and content "test2" using the new public WebDAV API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have a duplicate scenario here. we can remove this one
| permissions | create | | |
| password | %public% | | |
When the public uploads file "test.txt" with password "%public%" and content "test" using the new public WebDAV API | |
Then the HTTP status code should be "201" | |
And the content of file "/FOLDER/test.txt" for user "Alice" should be "test" | |
When the public uploads file "test.txt" with password "%public%" and content "test2" using the new public WebDAV API |
and keep the last scenario
ocis/tests/acceptance/features/coreApiSharePublicLink2/uploadToPublicLinkShare.feature
Lines 121 to 133 in 8b403a4
Scenario: uploading same file to a public upload-write and no edit and no overwrite share multiple times with new public API | |
Given user "Alice" has created a public link share with settings | |
| path | FOLDER | | |
| permissions | uploadwriteonly | | |
| password | %public% | | |
When the public uploads file "test.txt" with password "%public%" and content "test" using the new public WebDAV API | |
Then the HTTP status code should be "201" | |
And the following headers should match these regular expressions | |
| ETag | /^"[a-f0-9:\.]{1,32}"$/ | | |
When the public uploads file "test.txt" with password "%public%" and content "test2" using the new public WebDAV API | |
Then the HTTP status code should be "201" | |
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" |
Quality Gate passedIssues Measures |
* fix test: secret file drop * Update uploadToPublicLinkShare.feature
fix test coreApiSharePublicLink2/uploadToPublicLinkShare.feature:13 after #8340
closed bugs: