Skip to content

Commit

Permalink
Remove outdates acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jul 1, 2022
1 parent 75ded53 commit 70f1317
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,25 +170,25 @@ Feature: Sharing files and folders with internal users with different permission
| permissions | delete, read, update |


Scenario: User is not allowed to reshare sub-folder with more permissions
Given user "Carol" has been created with default attributes and without skeleton files in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions in the server
And user "Alice" has logged in using the webUI
When the user browses to the folder "simple-folder" on the files page
And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update" using the webUI
Then the error message with header "Error while sharing." should be displayed on the webUI
And as "Carol" folder "simple-empty-folder" should not exist in the server


Scenario: User is not allowed to update permissions of a reshared sub-folder to higher permissions than what user has received
Given user "Carol" has been created with default attributes and without skeleton files in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete, update" permissions in the server
And user "Alice" has shared folder "simple-folder" with user "Carol" with "share, delete" permissions in the server
And user "Alice" has logged in using the webUI
When the user browses to the folder "simple-folder" on the files page
And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update, create" using the webUI
Then the error message with header "Error while sharing." should be displayed on the webUI
And as "Carol" folder "simple-empty-folder" should not exist in the server



















Scenario: User is allowed to update permissions of a reshared sub-folder within the permissions that the user has received
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,32 +183,32 @@ Feature: Sharing files and folders with internal users with different permission
| item_type | folder |
| permissions | delete, read, update |

@issue-ocis-2260
Scenario: User is not allowed to reshare sub-folder with more permissions
Given user "Carol" has been created with default attributes and without skeleton files in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions in the server
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
And user "Alice" has logged in using the webUI
When the user opens folder "Shares" using the webUI
And the user opens folder "simple-folder" using the webUI
And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update" using the webUI
Then the error message with header "Error while sharing." should be displayed on the webUI
And user "Carol" should not have received any shares in the server
And as "Carol" folder "/Shares/simple-empty-folder" should not exist in the server

@issue-ocis-2260
Scenario: User is not allowed to update permissions of a reshared sub-folder to higher permissions than what user has received
Given user "Carol" has been created with default attributes and without skeleton files in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete, update" permissions in the server
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
And user "Alice" has shared folder "/Shares/simple-folder" with user "Carol" with "share, delete" permissions in the server
And user "Alice" has logged in using the webUI
When the user opens folder "Shares" using the webUI
And the user opens folder "simple-folder" using the webUI
And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update, create" using the webUI
Then the error message with header "Error while sharing." should be displayed on the webUI
And user "Carol" should not have received any shares in the server
And as "Carol" folder "/Shares/simple-empty-folder" should not exist in the server


























@issue-ocis-2260
Scenario: User is allowed to update permissions of a reshared sub-folder within the permissions that the user has received
Expand Down

0 comments on commit 70f1317

Please sign in to comment.