Skip to content

Commit

Permalink
Merge pull request #9132 from owncloud/manage_space_by_admin
Browse files Browse the repository at this point in the history
[tests-only][full-ci]Added e2e test admin manage space created by other space admin
  • Loading branch information
SagarGi authored Jun 7, 2023
2 parents dcd74a2 + cc8abd6 commit 5e2c430
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,54 @@ Feature: spaces management
| David | Can view |
| Edith | Can view |
And "Alice" logs out


Scenario: admin user can manage the spaces created by other space admin user
Given "Admin" creates following users using API
| id |
| Alice |
| Brian |
| Carol |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Admin |
| Brian | Space Admin |
| Carol | Space Admin |
When "Brian" logs in
And "Brian" creates the following project spaces using API
| name | id |
| team A | team.a |
And "Brian" logs out
When "Carol" logs in
And "Carol" creates the following project spaces using API
| name | id |
| team B | team.b |
And "Carol" logs out
When "Alice" logs in
And "Alice" opens the "admin-settings" app
And "Alice" navigates to the project spaces management page
And "Alice" updates quota of the following spaces to "50" using the batch-actions
| id |
| team.a |
| team.b |
And "Alice" disables the following spaces using the batch-actions
| id |
| team.a |
| team.b |
And "Alice" enables the following spaces using the batch-actions
| id |
| team.a |
| team.b |
And "Alice" disables the following spaces using the batch-actions
| id |
| team.a |
| team.b |
And "Alice" deletes the following spaces using the batch-actions
| id |
| team.a |
| team.b |
Then "Alice" should not see the following spaces
| id |
| team.a |
| team.b |
And "Alice" logs out

0 comments on commit 5e2c430

Please sign in to comment.