Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Aug 3, 2022
1 parent 1ed9f25 commit 2cb5d6e
Showing 1 changed file with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Feature: reshare

Background:
And "Admin" disables share auto accepting
Given "Admin" disables share auto accepting

Scenario: folder
Given "Admin" creates following users
Expand All @@ -13,9 +13,10 @@ Feature: reshare
| id |
| sales |
| finance |
When "Admin" adds user to the group
And "Admin" adds user to the group
| user | group |
| Carol | sales |

When "Alice" logs in
And "Alice" opens the "files" app
And "Alice" navigates to the personal space page
Expand All @@ -25,7 +26,9 @@ Feature: reshare
When "Alice" shares the following resource using the sidebar panel
| resource | user | role |
| folder_to_shared | Brian | editor |
And "Brian" logs in
And "Alice" logs out

When "Brian" logs in
And "Brian" opens the "files" app
And "Brian" navigates to the shared with me page
And "Brian" accepts the following share
Expand All @@ -34,13 +37,18 @@ Feature: reshare
And "Brian" reshares the following resource
| resource | user | role |
| folder_to_shared | Carol | viewer |
And "Brian" logs out

When "Carol" logs in
And "Carol" opens the "files" app
And "Carol" navigates to the shared with me page
And "Carol" accepts the following share
| name |
| folder_to_shared |
And "Carol" reshares the following resource
| resource | user | role |
| folder_to_shared | Alice | viewer |
And "Carol" logs out
And "Brian" logs out
And "Alice" logs out



0 comments on commit 2cb5d6e

Please sign in to comment.