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 sharing a file via public link #1981

Merged
merged 1 commit into from
Sep 18, 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 @@ -13,18 +13,22 @@ Feature: Share by public link
And user "user1" has logged in using the webUI

@smokeTest
Scenario: simple sharing by public link
When the user creates a new public link for folder "simple-folder" using the webUI
Scenario Outline: simple sharing by public link
When the user creates a new public link for resource "<shared-resource>" using the webUI
Then user "user1" should have a share with these details:
| field | value |
| share_type | public_link |
| uid_owner | user1 |
| permissions | read |
| path | /simple-folder |
| name | Public link |
And a link named "Public link" should be listed with role "Viewer" in the public link list of folder "simple-folder" on the webUI
| field | value |
| share_type | public_link |
| uid_owner | user1 |
| permissions | read |
| path | /<shared-resource> |
| name | Public link |
And a link named "Public link" should be listed with role "Viewer" in the public link list of resource "<shared-resource>" on the webUI
When the public uses the webUI to access the last public link created by user "user1"
Then file "lorem.txt" should be listed on the webUI
Examples:
| shared-resource |
| simple-folder |
| lorem.txt |

@skip @yetToImplement
Scenario: creating a public link with read & write permissions makes it possible to delete files via the link
Expand Down