Skip to content

Commit

Permalink
Merge pull request #1981 from owncloud/testPublicLinkFile
Browse files Browse the repository at this point in the history
test sharing a file via public link
  • Loading branch information
individual-it authored Sep 18, 2019
2 parents 6c52cec + 5cfbd6d commit bf6fa85
Showing 1 changed file with 13 additions and 9 deletions.
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

0 comments on commit bf6fa85

Please sign in to comment.