-
Notifications
You must be signed in to change notification settings - Fork 159
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 public link uploads with/without password #2400
Conversation
💥 Acceptance tests SharingPublic failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6220/
|
💥 Acceptance tests Trashbin failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6220/
|
💥 Acceptance tests Upload failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6220/
|
💥 Acceptance tests iPhone failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6220/
|
💥 Acceptance tests XGAPortrait failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6220/
|
💥 Acceptance tests Upload failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6232/
|
💥 Acceptance tests iPhone failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6232/
|
💥 Acceptance tests XGAPortrait failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6232/
|
6f1a49d
to
63f42d2
Compare
💥 Acceptance tests SharingPublic failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6243/
|
The usual test and folder upload in the public link with password set failed. I'll push a fix. |
💥 Acceptance tests Files failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6247/
|
Then file "new-lorem.txt" should be listed on the webUI | ||
And as "user1" file "simple-folder/new-lorem.txt" should exist | ||
|
||
Scenario: creating a public link with "Editor" role makes it possible to upload a file inside a subdirectory |
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.
This should have been the following, but, I just noticed. I already have a PR in the works that fixes this.
It'll be fixed in the "other" PR. Or, if anything needs to be fixed, I'll do this in this same PR.
Scenario: creating a public link with "Editor" role makes it possible to upload a file inside a subdirectory | |
Scenario: creating a public link with "Editor" role makes it possible to upload a file inside a subdirectory with password set |
Only the usual test failed, so, the fix works. |
LGTM |
I restarted drone just now. |
💥 Acceptance tests Files failed. Please find the screenshots inside ...https://drone.owncloud.com/owncloud/phoenix/6270/
|
b40e2b9
to
fe76e7c
Compare
@skshetry can you evaluate these public link upload scenarios and delete them if already implemented ? https://github.com/owncloud/phoenix/blob/master/tests/acceptance/features/webUIUpload/upload.feature#L139 |
Description
This adds tests for files and folder uploads in root and inside subdirectory, with a password, and without a password. This also fixes bug when a folder is uploaded via a public link when the password is set. (ref: #2402 ).
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: