Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Concordion: New: Admin:ManageRoles
Browse files Browse the repository at this point in the history
  • Loading branch information
definite committed Apr 12, 2013
1 parent b814a80 commit c870216
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 5 deletions.
9 changes: 4 additions & 5 deletions concordion/src/Admin/ManageLanguages.txt
Expand Up @@ -4,7 +4,7 @@
:revnumber: 2.3

== attributes
:priority: P1
:priority: P2
:status: CONFIRMED
:automated:
:testplan_reference: Zanata-full
Expand Down Expand Up @@ -33,17 +33,16 @@ Features Not to test:
* Actual Team Member management, as it is covered by tests for language
coordinator.


== setup
=== Requires
* And admin role account
* An admin role account
* It is assumed that no languages are created on the test instance when this test begins.
* Several other Zanata accounts as candidate of team member.

== action
1. Sign in with as an admin.
2. Click *More* -> *Administration* -> *Manage Languages*
exp: Table *Language Manager* table should appear.
exp: Page *Manager Language* should appear.

=== Add a new Language
1. Click on "Add New Language"
Expand Down Expand Up @@ -130,7 +129,7 @@ exp: The action should succeed.
exp: The action should fail.

== expectedresults
Proceed as described in Action
Proceed as described in Actions.

== breakdown

Expand Down
101 changes: 101 additions & 0 deletions concordion/src/Admin/ManageRoles.txt
@@ -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:

0 comments on commit c870216

Please sign in to comment.