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:
- Click Users button
- Click "Edit" button of the selected admin account in the "Users" page
- Edit all fields
- Click "Update" button
- Click edit button of the updated user to view updated details.
Tests made using both Admin and User Accounts
Valid Tests
- Admin user clicks the row of the selected Admin account to edit
- Admin user clicks the row of the selected User account to edit
- Admin user clicks the "Edit" button to edit an Admin account
- Admin user clicks the "Edit" button to edit an User account
- Admin user successfully edit name of admin account
- Admin user successfully edit name of user account
- Admin user name with existing name
- Admin user edit name of the Admin account to the minimum length allowed(1 character)
- Admin user edit name of the User account to the minimum length allowed(1 character)
- Admin user edit name of the Admin Account to the maximum length allowed(255 characters)
- Admin user edit name of the User Account to the maximum length allowed(255 characters)
- Admin user successfully edit "Name" of Admin account with special characters
- Admin user successfully edit "Name" of User account with special characters
- Admin user successfully edit "Name" of Admin account with numeric characters
- Admin user successfully edit "Name" of User account with numeric characters
- Admin user successfully edit "Name" of Admin account with whitespaces
- Admin user successfully edit "Name" of User account with whitespaces
- Admin user successfully edit "Name" of Admin account with different case format
- Admin user successfully edit "Name" of User account with different case format
- Admin user successfully edit "Name" of Admin account with alphanumeric characters
- Admin user successfully edit "Name" of User account with alphanumeric characters
- Admin user successfully edit e-mail for Admin account
- Admin user successfully edit e-mail for User account
- Admin user edit e-mail of Admin account with special characters
- Admin user edit e-mail of User account with special characters
- Admin user successfully edit password of admin account (min length: 8)
- Admin user successfully edit password for User account
- Admin user successfully edit password of Admin account using numeric characters only
- Admin user successfully edit password of User account using numeric characters only
- Admin user edit password with dash and underscore(-_ )only
- Admin user successfully edit password of Admin account with maximum length allowed on the Edit account fields(255 characters)
- Admin user successfully edit password of User account with maximum length allowed on the Edit account fields(255 characters)
- Admin user successfully edit Type of Admin type into user type
- Admin user successfully edit Type od User type into admin type
- Admin user successfully edit Type of Admin account into User account and entered an "Ancestor"
- Admin user successfully entered ancestor (*entered ancestor is user type)
- Admin user successfully edit the existing ancestor of a user (*entered ancestor is admin type)
- Admin user remove the "Ancestor" of the selected user
- Admin user cancelled "Edit" operation
- Admin user deletes a user account
- Admin user deletes one admin account
Invalid Tests
- User click the "Update" button of the selected Admin account without editing any fields and log in the selected user
- User click the "Update" button of the selected User account without editing any fields and log in the selected user
- User left the "Name" field of Admin account blank
- User left the "Name" field of User account blank
- User left the "E-mail" of the Admin account blank
- User edit email using existing email
- User left the "E-mail" of the User account blank
- User entered the wrong format of "E-mail" address for the Admin account
- User entered the wrong format of "E-mail" addredd for the User account
- User entered an "Email" address with whitespaces
- User edit E-mail of Admin account with special characters with duplicate of "@" character
- User edit E-mail of Admin account with an incomplete e-mail address
- User edit E-mail of User account with an incomplete e-mail address
- User successfully edit Password of Admin account with whitespaces
- User successfully edit Password if User account with whitespaces
- 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)
- 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)
- User successfully edit Password of Admin account using special characters
- User successfully edit Password of User account using special characters
- User chose "Type" instead of "admin" or "user"
- User edit fields using existing data but different "Type"
- User edit fields using existing data with similar "Type"
- User edit "Password" of Admin account with the below the minimum character allowed (Minimum Password characters: 8)
- User edit "Password" of User account with below the minimum character allowed (Minimum Password characters: 8)
- 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)
- 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)
- 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)
- User edit name using data with similar "Type"
- User successfully edit Type of Admin account into User account and entered a "Ancestor" that is not existing
- User is able to change "Ancestor" name
- User is able to change "Ancestor" name to the maximum length allowed(255 characters)
- User successfully edit "Ancestor" name with special characters
- User successfully edit "Ancestor" name with whitespaces only
- User successfully edit "Ancestor" name with format sensitive and alphanumeric characters