Skip to content

Commit

Permalink
Fix public link share acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Mar 22, 2022
1 parent c6b87ac commit 4ac80c5
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Feature: Public link share management
Given user "Alice" has been created with default attributes and without skeleton files in the server
And user "Alice" has created folder "/simple-folder" in the server

@ocisSmokeTest
Scenario: public link share shows up on shared-with-others page
Given user "Alice" has logged in using the webUI
And user "Alice" has shared folder "simple-folder" with link with "read" permissions in the server
When the user browses to the shared-via-link page using the webUI
Then folder with path "lorem.txt" should be listed on the webUI








Scenario: opening public-link page of the files-drop link protected with password should redirect to files-drop page
Expand Down Expand Up @@ -98,10 +98,10 @@ Feature: Public link share management
| name |
| actions |
And the following panels should not be visible in the details dialog on the webUI
| name |
| people |
| links |
| versions |
| name |
| people |
| links |
| versions |

@issue-2897
Scenario: sharing details of indirect items inside a shared folder
Expand Down Expand Up @@ -141,7 +141,7 @@ Feature: Public link share management
And user "Alice" has favorited element "simple-folder/simple-empty-folder" in the server
And user "Alice" has logged in using the webUI
When the user browses to the shared-via-link page using the webUI
Then a link named "Public Link" should be listed with role "Viewer" in the public link list of resource "simple-empty-folder" via "simple-folder" on the webUI
Then a link named "Public Link" should be listed with role "Viewer" in the public link list of resource "simple-folder/simple-empty-folder" via "simple-folder" on the webUI
And a link named "Public Link Sub" should be listed with role "Viewer" in the public link list of resource "simple-empty-folder" on the webUI
When the user browses to the favorites page using the webUI
Then a link named "Public Link" should be listed with role "Viewer" in the public link list of resource "simple-folder/simple-empty-folder" via "simple-folder" on the webUI
Expand Down Expand Up @@ -169,8 +169,8 @@ Feature: Public link share management
Scenario: Shared via link page is displayed
Given user "Alice" has created file "lorem.txt" in the server
And user "Alice" has created a public link with following settings in the server
| path | lorem.txt |
| name | Public-link |
| path | lorem.txt |
| name | Public-link |
And user "Alice" has logged in using the webUI
When the user browses to the shared-via-link page using the webUI
Then file "lorem.txt" should be listed on the webUI
Expand Down

0 comments on commit 4ac80c5

Please sign in to comment.