Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Role Create / Update / Delete

Test A: Check that the TENANT_ADMINISTRATOR

...

and _READER roles are displayed properly

Actions:

  1. Login with full privileges
  2. Go to Administration in the top menu navigation, then the Roles and Permissions tab

Expected:

  • The TENANT_ADMINISTRATOR

...

  • and TENANT_READER roles should be displayed on the list to the left

Actions:

  • Click the TENANT_ADMINISTRATOR role

Expected:

...

  • The Role

...

  • name should be displayed
  • All permissions should be set to

...

  • Delete

...

  1. Change any of the permissions for this role
  2. Press save
    Expected:
  • You should receive an error message "Bad response 403" and be unable to save
Test B: Check that the TENANT_READER role is displayed properly

Actions:

  • *# Login with full privileges
    1. Go to administration, then Roles and Permissions
      Expected:
    • The TENANT_READER role should be displayed on the list to the left
      Actions:
  • The permissions should be read only

Actions:

  • Click the TENANT_READER role

Expected:

...

  • The Role

...

  • name should be displayed
  • All permissions should be set to

...

  • Read

...

  • The permissions should be read only

Test 1: Create

...

New Invalid Role - No Role Name

Actions:

  1. Login with full privileges
  2. Go to administration Administration in the top menu navigation, then the Roles and Permissions
  3. A "No role selected" message should be displayed
  4. tab
  5. Click the "+ role" Create new button to on the left

Expected:

  1. A

...

  1. new role form should appear
  2. All permissions should be set to None

Actions:

...

  • Click save

...

Expected:

  • A message saying "Required field is empty: Role Name" should be displayedwill appear reading, "Name is required. Please enter a value."

Test 3: Create

...

New Valid Role

Actions:

  1. Continue from Test 1 (or go to Roles and Permissions, and click "+role")
  2. Fill out Role Name
  3. Change some any of the permission settings of permissions
  4. Click save

Expected:

...

  1. The new role should be displayed on the list
  2. A

...

  1. successful save message should display

Actions:

  1. Click a different role
  2. Wait for it to load
  3. Click back to the role you created

Expected:

  1. The Role Name, Description and Permissions should be as you created them

Test 5: Create

...

New Invalid Role (Duplicate Role Name)

Actions:

  1. Continue from Test 3 (or go to roles and permissions)
  2. Click the "+ role" Create new button to on the left
  3. Fill out the Role Name with the same name as an existing role name
  4. Click the save button

Expected:

  • A message (see CSPACE-3521) should appear telling you that duplicate role names are not allowed
  • The new role should not be saved

Test 9: Edit

...

Existing Role to Invalid

Actions:

  1. Continue from Test 7 (or go to Roles and Permissions)
  2. Select a role that you can edit by clicking on it in the left to the leftmenu
  3. Change the any permissions of that role
  4. Delete the text from Role Name
  5. Click save

Expected:

  • A message saying that some required fields are empty should be displayedNo saving reading "Name is required. Please enter a value." should appear
  • No save should take place

Actions:

  1. Change the role name to be the exact same as an existing role
  2. Click save

Expected:

  • An error message "Bad response 400" should appear in the bottom of the screen

Test 11: Edit

...

Role (

...

Valid)

Actions:

  1. Continue from Test 9 (or go to Roles and Permissions, then selected a role that you want to edit on the lift to the left)
  2. Change the value in the role name Name field
  3. Change the description Description
  4. Change the any permissions of the role
  5. Click the save button

Expected:

  • The name in the left list should change to the new name
  • Navigate away from the role by clicking another role, then back to the one you edited
  • The Role Name, Description and Permissions should reflect your changes.

Test 13: Delete

...

Role with Cancel/Close

Actions:

  1. Continue from Test 11 (or go to Roles and Permissions, the select a role you are comfortable deleting)
  2. Click the Delete button above the Role form

...

Actions:

  1. Variation A: click Cancel
  2. Variation B: click Close symbol
  3. Variation C: hit the Escape key

...

  • The dialog should be dismissed
  • Form should be unchanged

Test 15: Successfully

...

Delete Role

Actions:

  1. Continue from Test 13 (or go to Roles and Permissions, the select a role you are comfortable deleting)
  2. Click the Delete button above the Role form
  3. In the dialog, hit delete

Expected:

  • The dialog should be dismissed
  • A " Role successfully deleted " message should appear
  • The form should be replaced by a No Roles Selected messageThe role should disappear from the list of roles

Test 17:

...

Delete Role Assigned to User

Actions:

  1. Go to Roles and Permissions and create Createa new role (Like in Test 3)
  2. Take a note of the name of the role
  3. Go to the Users tab
  4. Create a new user, by clicking Create New User and filling out the form
  5. Assign your newly created roll to the new user by marking the role in the Roles list
  6. Click Save
  7. Go to Roles and Permission tab
  8. Select the role you created from the list to the left
  9. Click the Delete button
  10. Click confirm in the delete box

...

  • An error message should tell you that this action is not allowed due to the role being assigned
  • The role should still be in the form as well as in the list to the left

Test 20: Spend 5 minutes trying to break something

...

!

  • Spend a few minutes forcing the program to expose buggy behavior by:
    • using the system in ways not covered by the testplan
    • using the system in unexpected ways
    • doing whatever you can think of that will produce bugs and unexpected behavior.
    • Be creative!

Known bugs, Roles and Permissions:

...