This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
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
Showing
2 changed files
with
105 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
= Admin:Manage Roles | ||
:email: dchen@redhat.com | ||
:revdate: 2013/4/12 | ||
:revnumber: 2.3 | ||
|
||
== attributes | ||
:priority: P2 | ||
:status: CONFIRMED | ||
:automated: | ||
:testplan_reference: Zanata-full | ||
:categoryname: Functional | ||
:component: Component-UI | ||
:defaulttester: | ||
:tag: | ||
:role: admin | ||
:impact: High | ||
:probability: Medium | ||
:risk: 6 | ||
:taxonomy: 8400 | ||
|
||
== notes | ||
Propose: An admin should be able to manage roles. | ||
|
||
Features to test: | ||
|
||
* Create Role | ||
* Edit Role | ||
* Delete Role | ||
|
||
Features Not to test: | ||
|
||
== setup | ||
* An admin role account | ||
|
||
== action | ||
1. Sign in with as an admin. | ||
2. Click *More* -> *Administration* -> *Manage Roles* | ||
exp: Page *Manager Roles* should be loaded. | ||
|
||
=== Create Role | ||
1. Click *Create Role*. | ||
2. Enter `ROLE1` in Field *Role*. | ||
3. Click *Cancel*. | ||
exp: Page *Manager Roles* should be loaded and nothing has changed. | ||
4. Click *Create Role*. | ||
5. Enter `ROLE1` in Field *Role*. | ||
6. Click *Save*. | ||
exp: Page *Manager Roles* should be loaded and `ROLE1` should be list in the table. | ||
7. Click *Create Role*. | ||
8. Enter `ROLE1` in Field *Role*. | ||
9. Click *Save*. | ||
exp: Error message: "`ROLE1` already exists." | ||
10. Click *Create Role*. | ||
11. Enter `ROLE2` in Field *Role*. | ||
12. Check Checkbox *ROLE1*. | ||
12. Click *Save*. | ||
$$$$ | ||
* Page *Manager Roles* should be loaded. | ||
* `ROLE2` should be listed in the table. | ||
* `ROLE2` should be listed as member of `ROLE1` | ||
$$$$ | ||
|
||
=== Edit Role | ||
1. Click *Edit* at `ROLE1` | ||
exp: Page *Role Details* of `ROLE1` should be loaded. | ||
2. Enter `admin` in Field *Role*. | ||
exp: Error message: "`admin` already exists." | ||
3. Click *Save* | ||
exp: Error message: "`admin` already exists." | ||
4. Click *Edit* at `ROLE1`. | ||
5. Enter `ROLE3` in Field *Role*. | ||
6. Click *Save* | ||
$$$$ | ||
* Page *Manager Roles* should be loaded. | ||
* `ROLE1` should NOT be listed in the table. | ||
* `ROLE3` should be listed in the table. | ||
* `ROLE2` should be listed as member of `ROLE3` | ||
$$$$ | ||
|
||
=== Delete Role | ||
1. Click *Delete* at `ROLE3` | ||
exp: Confirm Dialog *Role Deletion* should appear. | ||
2. Click *Cancel* | ||
exp: Nothing should change. | ||
3. Click *Delete* at `ROLE3` | ||
exp: Confirm Dialog *Role Deletion* should appear. | ||
4. Click *Ok* | ||
$$$$ | ||
* `ROLE3` should NOT be listed in the table. | ||
* `ROLE2` should NOT be the member of `ROLE3` | ||
$$$$ | ||
|
||
== expectedresults | ||
Proceed as described in Actions. | ||
|
||
|
||
|
||
== breakdown | ||
Remove ` | ||
|
||
// vim: set syntax=asciidoc: |