Edit User - AyannahQA/test GitHub Wiki

Overview


This menu lets the user edit a registered user. Only admin accounts have the permission to edit an account. Both admin and user accounts are available for the admin account to edit. The user account cannot edit their own account nor see any other account for that matter.


Steps:

  1. Click Users button
  2. Click "Edit" button of the selected admin account in the "Users" page
  3. Edit all fields
  4. Click "Update" button
  5. Click edit button of the updated user to view updated details.

Tests made using both Admin and User Accounts

Valid Tests

  1. Admin user clicks the row of the selected Admin account to edit
  2. Admin user clicks the row of the selected User account to edit
  3. Admin user clicks the "Edit" button to edit an Admin account
  4. Admin user clicks the "Edit" button to edit an User account
  5. Admin user successfully edit name of admin account
  6. Admin user successfully edit name of user account
  7. Admin user name with existing name
  8. Admin user edit name of the Admin account to the minimum length allowed(1 character)
  9. Admin user edit name of the User account to the minimum length allowed(1 character)
  10. Admin user edit name of the Admin Account to the maximum length allowed(255 characters)
  11. Admin user edit name of the User Account to the maximum length allowed(255 characters)
  12. Admin user successfully edit "Name" of Admin account with special characters
  13. Admin user successfully edit "Name" of User account with special characters
  14. Admin user successfully edit "Name" of Admin account with numeric characters
  15. Admin user successfully edit "Name" of User account with numeric characters
  16. Admin user successfully edit "Name" of Admin account with whitespaces
  17. Admin user successfully edit "Name" of User account with whitespaces
  18. Admin user successfully edit "Name" of Admin account with different case format
  19. Admin user successfully edit "Name" of User account with different case format
  20. Admin user successfully edit "Name" of Admin account with alphanumeric characters
  21. Admin user successfully edit "Name" of User account with alphanumeric characters
  22. Admin user successfully edit e-mail for Admin account
  23. Admin user successfully edit e-mail for User account
  24. Admin user edit e-mail of Admin account with special characters
  25. Admin user edit e-mail of User account with special characters
  26. Admin user successfully edit password of admin account (min length: 8)
  27. Admin user successfully edit password for User account
  28. Admin user successfully edit password of Admin account using numeric characters only
  29. Admin user successfully edit password of User account using numeric characters only
  30. Admin user edit password with dash and underscore(-_ )only
  31. Admin user successfully edit password of Admin account with maximum length allowed on the Edit account fields(255 characters)
  32. Admin user successfully edit password of User account with maximum length allowed on the Edit account fields(255 characters)
  33. Admin user successfully edit Type of Admin type into user type
  34. Admin user successfully edit Type od User type into admin type
  35. Admin user successfully edit Type of Admin account into User account and entered an "Ancestor"
  36. Admin user successfully entered ancestor (*entered ancestor is user type)
  37. Admin user successfully edit the existing ancestor of a user (*entered ancestor is admin type)
  38. Admin user remove the "Ancestor" of the selected user
  39. Admin user cancelled "Edit" operation
  40. Admin user deletes a user account
  41. Admin user deletes one admin account

Invalid Tests

  1. User click the "Update" button of the selected Admin account without editing any fields and log in the selected user
  2. User click the "Update" button of the selected User account without editing any fields and log in the selected user
  3. User left the "Name" field of Admin account blank
  4. User left the "Name" field of User account blank
  5. User left the "E-mail" of the Admin account blank
  6. User edit email using existing email
  7. User left the "E-mail" of the User account blank
  8. User entered the wrong format of "E-mail" address for the Admin account
  9. User entered the wrong format of "E-mail" addredd for the User account
  10. User entered an "Email" address with whitespaces
  11. User edit E-mail of Admin account with special characters with duplicate of "@" character
  12. User edit E-mail of Admin account with an incomplete e-mail address
  13. User edit E-mail of User account with an incomplete e-mail address
  14. User successfully edit Password of Admin account with whitespaces
  15. User successfully edit Password if User account with whitespaces
  16. User successfully edit Password of Admin account with above the minimum Password characters allowed using whitespaces only. Then the user log in i the selected Admin account. (Minimum Password Characters: 8) (Above 8 characters)
  17. User successfully edit Password of User account with above the minimun Password characters allowed and with whitespaces only. Then the user log in the selected Admin account. (Minimum Password Characters: 8) (Above 8 characters)
  18. User successfully edit Password of Admin account using special characters
  19. User successfully edit Password of User account using special characters
  20. User chose "Type" instead of "admin" or "user"
  21. User edit fields using existing data but different "Type"
  22. User edit fields using existing data with similar "Type"
  23. User edit "Password" of Admin account with the below the minimum character allowed (Minimum Password characters: 8)
  24. User edit "Password" of User account with below the minimum character allowed (Minimum Password characters: 8)
  25. User successfully edit Password of Admin account with below the minimum Password characters allowed and with whitespaces only. Then the user log in the selected Admin account (Minimum Password characters: 8) (User entered 5 whitespaces)
  26. User successfully edit Password of Admin account with below thw minimum Password characters allowed and with whitespaces only. Then the user log in the selected User account (Minimum Password characters: 8) )User entered 5 whitespaces)
  27. User edit "Password" of Admin account with above the maximum characters allowed in login page (Maximum Password characters on login page: 72) (User entered 255 characters)
  28. User edit name using data with similar "Type"
  29. User successfully edit Type of Admin account into User account and entered a "Ancestor" that is not existing
  30. User is able to change "Ancestor" name
  31. User is able to change "Ancestor" name to the maximum length allowed(255 characters)
  32. User successfully edit "Ancestor" name with special characters
  33. User successfully edit "Ancestor" name with whitespaces only
  34. User successfully edit "Ancestor" name with format sensitive and alphanumeric characters