Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only][full-ci]Added e2e test admin manage space created by other space admin #9132

Merged
merged 4 commits into from
Jun 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
amrita-shrestha marked this conversation as resolved.
Show resolved Hide resolved
SagarGi marked this conversation as resolved.
Show resolved Hide resolved
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
amrita-shrestha marked this conversation as resolved.
Show resolved Hide resolved
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