Skip to content
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 Files drop without password #2415

Merged
merged 1 commit into from
Nov 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Feature: Share by public link
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
Scenario: creating a public link with "Editor" role makes it possible to upload a file inside a subdirectory with password set
Given user "user1" has shared folder "simple-folder" with link with "read, change, create, delete" permissions and password "pass123"
When the public uses the webUI to access the last public link created by user "user1" with password "pass123"
And the user opens folder "simple-empty-folder" using the webUI
Expand Down Expand Up @@ -142,7 +142,7 @@ Feature: Share by public link
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 files inside a subdirectory even without password
Scenario: creating a public link with "Editor" role makes it possible to upload files inside a subdirectory
Given user "user1" has shared folder "simple-folder" with link with "read, change, create, delete" permissions
When the public uses the webUI to access the last public link created by user "user1"
And the user uploads folder "PARENT" using the webUI
Expand Down Expand Up @@ -175,6 +175,20 @@ Feature: Share by public link
When the public uses the webUI to access the last public link created by user "user1" with password "pass123"
Then it should not be possible to create files using the webUI

@issue-2414
Scenario: creating a public link with "Uploader" role makes it possible to upload a file
Given user "user1" has shared folder "simple-folder" with link with "create" permissions
When the public uses the webUI to access the last public link created by user "user1"
And the user uploads file "new-lorem.txt" using the webUI
Then as "user1" file "simple-folder/new-lorem.txt" should exist

@issue-2414
Scenario: creating a public link with "Uploader" role makes it possible to upload a folder
Given user "user1" has shared folder "simple-folder" with link with "create" permissions
When the public uses the webUI to access the last public link created by user "user1"
And the user uploads folder "PARENT" using the webUI
Then as "user1" file "simple-folder/PARENT/CHILD/child.txt" should exist

@skip @yetToImplement
Scenario: mount public link
Given using server "REMOTE"
Expand Down