-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a317ad
commit acf8382
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Feature: Group actions | ||
As a user | ||
I want to check group operations like: | ||
- sharing a resource by several users | ||
- accepting multiple shares by using a batch action | ||
|
||
Scenario: copy and move resources in personal space | ||
Given "Admin" creates following user using API | ||
| id | | ||
| Alice | | ||
| Brian | | ||
| Carol | | ||
| David | | ||
| Edith | | ||
And "Admin" creates following group using API | ||
| id | | ||
| sales | | ||
| finance | | ||
| security | | ||
And "Admin" adds user to the group using API | ||
| user | group | | ||
| Brian | sales | | ||
| Brian | finance | | ||
| Brian | security | | ||
And "Alice" logs in | ||
And "Alice" creates the following folders in personal space using API | ||
| name | | ||
| sharedFolder | | ||
| folder1 | | ||
| folder2 | | ||
| folder3 | | ||
| folder4 | | ||
| folder5 | | ||
| parentFolder/SubFolder | | ||
And "Alice" shares the following resource using API | ||
| resource | recipient | type | role | | ||
| folder1 | Brian | user | Can edit | | ||
| folder2 | Brian | user | Can edit | | ||
| folder3 | Brian | user | Can edit | | ||
| folder4 | Brian | user | Can edit | | ||
| folder5 | Brian | user | Can edit | | ||
| parentFolder | Brian | user | Can edit | | ||
And "Alice" opens the "files" app | ||
|
||
# multiple share | ||
And "Alice" shares the following resources using the sidebar panel | ||
| resource | recipient | type | role | | ||
| sharedFolder | Brian | user | Can edit | | ||
| sharedFolder | Carol | user | Can edit | | ||
| sharedFolder | David | user | Can edit | | ||
| sharedFolder | Edith | user | Can edit | | ||
| sharedFolder | sales | group | Can edit | | ||
| sharedFolder | finance | group | Can edit | | ||
| sharedFolder | security | group | Can edit | | ||
|
||
When "Brian" logs in | ||
And "Brian" opens the "files" app | ||
And "Brian" navigates to the shared with me page | ||
|
||
# multiple share accept | ||
And "Brian" accepts all pending shares using the batch actions | ||
And "Alice" logs out | ||
And "Brian" logs out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters