Difference between revisions of "Development/Functional testing/User accounts tests"

From AtoM wiki
Line 2: Line 2:
 
[[Main Page]] > [[Development]] > [[Development/Functional testing|Functional testing]] > User accounts tests
 
[[Main Page]] > [[Development]] > [[Development/Functional testing|Functional testing]] > User accounts tests
  
=== Create ===
+
== Create ==
  
 
* Create new user
 
* Create new user
Line 16: Line 16:
 
* If saved, User can login with email/password
 
* If saved, User can login with email/password
  
=== Read ===
+
== Read ==
  
 
* "List users" screen has two tabs - Show active only and Show inactive only
 
* "List users" screen has two tabs - Show active only and Show inactive only
Line 27: Line 27:
 
* Non admin user can't see other user's account - "Sorry you do not have permission to access that page"
 
* Non admin user can't see other user's account - "Sorry you do not have permission to access that page"
  
=== Update ===
+
== Update ==
  
 
* Edit user data
 
* Edit user data
Line 36: Line 36:
 
* User can login with new email/password
 
* User can login with new email/password
  
=== Delete ===
+
== Delete ==
  
 
* Delete confirmation
 
* Delete confirmation
Line 43: Line 43:
 
* Once deleted, a user can't login anymore
 
* Once deleted, a user can't login anymore
  
=== Assign groups ===
+
== Assign groups ==
  
 
* Under "Access Control" Add group to user
 
* Under "Access Control" Add group to user
Line 52: Line 52:
 
* Remove all groups from user
 
* Remove all groups from user
  
=== Assign permissions ===
+
== Assign permissions ==
  
 
* Add permission for user
 
* Add permission for user
Line 59: Line 59:
  
  
=== Request password reminder ===
+
== Request password reminder ==
TODO
+
TO DO
  
 
[[Category:Development documentation]]
 
[[Category:Development documentation]]
  
 
__NOTOC__
 
__NOTOC__

Revision as of 20:02, 4 March 2016

Main Page > Development > Functional testing > User accounts tests

Create

  • Create new user
  • Username and Email are required data entry fields. Attempts to save without these fields filled-in results in red validation warning "required" and record cannot be saved.
  • New user does not require password and confirmation password in order to save new user record.
  • Default behaviour is to make new user Active.
  • To make a user inactive, deselect Active box. Save user and ICA-AtoM returns red warning "This user is inactive."
  • If password is created and confirmation password does not match. ICA-AtoM generates a red validation warning: "Your password confirmation did not match you password". Issue 2349
  • Will not save new user if mismatched.
  • Create matching password and confirmation and ICA-AtoM responds with "Password match: Yes" and provides a password strength indicator bar
  • Save user (create)
  • OR, Cancel (do not save new user) and ICA-AtoM returns you to the "List users" screen
  • If saved, User can login with email/password

Read

  • "List users" screen has two tabs - Show active only and Show inactive only
  • Active users are shown under the corresponding tab
  • Inactive users are shown under the corresponding tab
  • Display correct user data after creation (including groups, permissions)
  • Display correct user data after edit (including groups, permissions)
  • "my profile" link (upper right of screen in Caribou) shows current user's account
  • "my profile" link (upper right of screen in Trillium has a "Quick links" drop-down, it is listed below) shows current user's account
  • Non admin user can't see other user's account - "Sorry you do not have permission to access that page"

Update

  • Edit user data
  • Update/change password
  • Validation: mismatched password and confirm password
  • Save user (edit)
  • Cancel save (-> show page)
  • User can login with new email/password

Delete

  • Delete confirmation
  • Delete cancel
  • Validation: Don't allow deleting user with linked notes (When you click on edit for a user that has a note in the system, ICA-AtoM responds with View user profile and there is no delete button. Also includes a grey warning "This user has 1 notes in the system and therefore it cannot be removed.")
  • Once deleted, a user can't login anymore

Assign groups

  • Under "Access Control" Add group to user
  • Add multiple groups to user (See Issue 2348 for conflict with Trillium and Chrome)
  • Add duplicate group to user - ICA-AtoM responds with YELLOW highlight of duplicate and will not assign group twice (one group assigned on save)
  • Remove new group (not saved) from user
  • Remove existing group (was saved) from user by clicking "x" next to group
  • Remove all groups from user

Assign permissions

  • Add permission for user
  • Remove permission from user
  • Remove all permissions from user

Request password reminder

TO DO