-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test cases for Admin control for User settings (#174)
- Loading branch information
1 parent
feb6e31
commit 5d875e2
Showing
13 changed files
with
367 additions
and
6 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
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
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
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
99 changes: 99 additions & 0 deletions
99
...es/suite/system-console/user-management/admin-control-user-settings/MM-T5596.md
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,99 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Admin should be able to see the User's settings on a licensed instance" | ||
status: Active | ||
priority: Normal | ||
folder: Admin Control User Settings | ||
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: Suite | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: "" | ||
|
||
# (Optional) Test type and tools | ||
cypress: N/A | ||
detox: N/A | ||
mmctl: N/A | ||
playwright: N/A | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: 169995875 | ||
key: MM-T5596 | ||
created_on: "2024-07-15T10:29:10Z" | ||
last_updated: "2024-07-15T15:59:09Z" | ||
case_hashed: 5631c0a543536cb7af16dfef28b1995af19585d1f21e6b8a05791951e970ea4a92e9848341b0e58786baf63f9a3073bb | ||
steps_hashed: 45fa620901d7de8265f003798548035ccf1c10213afbf683baaa0b31b990e354246fad900104d751d913783a0db2a736 | ||
--- | ||
|
||
<!-- (Auto-generated) Based on frontmatter's "key" and "name" --> | ||
|
||
## MM-T5596: Admin should be able to see the User's settings on a licensed instance | ||
|
||
--- | ||
|
||
**Step 1** | ||
|
||
### Scenario: Admin cannot see the `Manage User Settings` option on a Free edition. | ||
|
||
--- | ||
|
||
**Step 2** | ||
|
||
1. Log into the admin account and go to System Console > Users page. | ||
2. Search for User A. | ||
3. In the Actions Menu, verify that `Manage User Settings` is not visible. | ||
4. Go to User A's User configuration page. | ||
5. Verify that `Manage User Settings` is not visible. | ||
|
||
### Scenario: Admin cannot see the `Manage User Settings` option on a instance with Professional license. | ||
|
||
--- | ||
|
||
**Step 3** | ||
|
||
1. Log into the admin account and go to System Console > Edition and License. | ||
2. Upload Professional License. | ||
3. Go to System Console > Users page. | ||
4. Search for User A. | ||
5. In the Actions Menu, verify that `Manage User Settings` is not visible. | ||
6. Go to User A's User configuration page. | ||
7. Verify that `Manage User Settings` is visible. | ||
8. Verify that `Manage User Settings` is disabled. | ||
|
||
### Scenario: Admin can access the `Manage User Settings` option from user configuration page on a instance with Enterprise license. | ||
|
||
--- | ||
|
||
**Step 4** | ||
|
||
1. Log into the admin account and go to System Console > Users page. | ||
2. Search for User A. | ||
3. Go to User A's User configuration page. | ||
4. Click on the `Manage User Settings` option. | ||
5. Verify that a confirmation pop-up with the title `Manage User A's Settings` appears. | ||
6. Click on the `Manage User Settings` button. | ||
7. Verify that User A's settings modal is displayed. | ||
8. Verify the modal has a label `Admin mode`. | ||
|
||
### Scenario: Admin can access the `Manage User Settings` option from user list page on a instance with Enterprise license. | ||
|
||
--- | ||
|
||
**Step 5** | ||
|
||
1. Log into the admin account and go to System Console > Users page. | ||
2. Search for User A. | ||
3. In the Actions Menu, verify that `Manage User Settings` is visible. | ||
4. Click on the `Manage User Settings` option. | ||
5. Verify that a confirmation pop-up with the title `Manage User A's Settings` appears. | ||
6. Click on the `Manage User Settings` button. | ||
7. Verify that User A's settings modal is displayed. | ||
8. Verify the modal has a label `Admin mode`. |
62 changes: 62 additions & 0 deletions
62
...es/suite/system-console/user-management/admin-control-user-settings/MM-T5597.md
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,62 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "User with System Manager or User manager role and edit access to user management can Manage User settings" | ||
status: Active | ||
priority: Normal | ||
folder: Admin Control User Settings | ||
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: Suite | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: "" | ||
|
||
# (Optional) Test type and tools | ||
cypress: N/A | ||
detox: N/A | ||
mmctl: N/A | ||
playwright: N/A | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: 169995876 | ||
key: MM-T5597 | ||
created_on: "2024-07-15T10:29:10Z" | ||
last_updated: "2024-07-15T15:59:10Z" | ||
case_hashed: af32b59503712fc533d99e6c8411daad09573021ce63cee8e99081fe5e09099c6bf37ff45d2db3d5b3e1714839ecc43f | ||
steps_hashed: a50987a6734013ac0795bc00002807b358cae1ac3ff2d9227c91e355efcceb8b3379d141ca5e910d14e6c2ad1c7b9115 | ||
--- | ||
|
||
<!-- (Auto-generated) Based on frontmatter's "key" and "name" --> | ||
|
||
## MM-T5597: User with System Manager or User manager role and edit access to user management can Manage User settings | ||
|
||
--- | ||
|
||
**Step 1** | ||
|
||
### Scenario: Users with roles `System manager` or `User manager` or `Viewer` can see the `Manage User Settings` option on a instance with Enterprise license. | ||
|
||
--- | ||
|
||
**Step 2** | ||
|
||
1. Log into the admin account and go to System Console > System Roles page. | ||
2. Edit permissions for `System manager`. | ||
3. Under User Management, change the access settings from `No access` to `Can edit`. | ||
4. Add `User A` to this role. | ||
5. Log out from the admin account and log into User A's account. | ||
6. Go to System Console > Users page. | ||
7. Search for User B. | ||
8. In the Actions Menu, verify that `Manage User Settings` is visible. | ||
9. Click on the `Manage User Settings` option. | ||
10. Verify that a confirmation pop-up with the title `Manage User B's Settings` appears. | ||
11. Click on the `Manage User Settings` button. | ||
12. Verify that User B's settings modal is displayed. | ||
13. Verify the modal has a label `Admin mode`. |
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
Oops, something went wrong.