-
Notifications
You must be signed in to change notification settings - Fork 43
Testing instructions for critical flows
Test Steps
- Download the Plugin zip from WP account or Github
- Install the plugin zip in the Plugin Uploader screen of the store
Expected Result:
The plugin should be installed and activated without any error or trouble.
Verify the Upload avatar section should be visible in the Profile
Test Steps
- Login with the admin test site
- Go to Profile: Users > Profiles
- Avatar section will be visible
Expected result
The Avatar section should be visible with an appropriate design.
Screenshot
Verify that the user can upload an avatar from the WordPress media library.
Test steps
- Login with the admin test site
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, click Choose from Media Library.
- Select an image from the media library.
- Click on Set as avatar.
- Select the rating.
- Click on Updated Profile
Expected result
Once the image has been successfully uploaded, it should appear in the profile section on the right side top corner.
Screenshot
Description
Verify that the user can upload an avatar from the local storage
Test steps
- Login with the admin test site
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, click Choose from Media Library.
- Select an image from the Upload files.
- Click on Set as avatar.
- Select the rating.
- Click on Updated Profile
Expected result
Once the image has been successfully uploaded, it should appear in the profile section on the right side top corner.
Verify that the user can delete their local avatars.
Test steps
- Login with the admin test site
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, click remove local avatar
Expected result
- The user should be able to delete their local avatars.
- When a Gravatar is not set, the local avatar is used instead
Screenshot
Verify If the local avatar is inappropriate for this site, Gravatar will be attempted.
Test steps
- Login with the admin test site
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, click Choose from Media Library.
- Select an image from the media library.
- Click on Set as avatar.
- Select the rating.
- Click on Updated Profile
Expected result
There will be a Gravatar image displayed.
Verify the rating of local avatars, just like Gravatar
Test steps
- Login with the admin test site
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, select the rating.
Expected result
Local avatars should be rated like Gravatar.
All user(subscribers, contributors, etc..) can upload local avatar.
Test steps
- Login with the admin test site with subscribers or contributors user role.
- Go to Profile: Users > Profiles.
- From the Upload Avatar section, click Choose from Media Library.
- Select an image from the media library.
- Click on Set as avatar.
- Select the rating.
- Click on Updated Profile
Expected result
Once the image has been successfully uploaded, it should appear in the profile section on the right side top corner.
Description
All desktop browsers, and responsive devices should support Local Avatar.
Test steps
- Upload the image via the Local Avatar section in Google Chrome
- Repeat in Edge
- Repeat in FireFox
- Repeat in Safari
- Use the Local Avatar section in Google Chrome (mobile iOS) to upload the image
- Repeat in Safari (mobile iOS)
- Repeat in Google Chrome (mobile Android)
- Upload the image via the Local Avatar section within Google Chrome (iPAD,iOS)
- Repeat in Google Chrome, (Tablet ,Android)
Expected result
You should be able to upload the image without any problems.
Test steps
- Make sure there is at least one user available on site with the email address having Gravatar set
- Make sure for that user there is no avatar image is set from "Simple local avatar" to check For that go to Users > Edit user profile > Profile picture
- Goto settings > Discussion > Navigate to Default Avatar > Choose a default avatar from media library
- Uncheck if the setting "Local Avatars Only" is checked
Expected result:
- Make sure the Gravtar image for that use (from step-2) is should be visible
Test steps
- Goto WordPress dashboard > Settings > Discussion
- Navigate to "Local Avatars Only", Make sure it should be unchecked
- Make sure there is at least one user available on site with the email address having Gravatar set
Expected result:
- When “Local Avatars Only” is disabled, the Gravatars should be used/displayed
- To make sure, Goto users list > the Gravatars should be displayed
Test steps
- Goto WordPress dashboard > Settings > Discussion
- Navigate to "Local Avatars Only", Make sure it should be checked
- Make sure there is at least one user available on site with the email address having Gravatar set
Expected result:
- When “Local Avatars Only” is enabled, the default local avatar should be used/displayed even if the user has Gravatars available.
- To make sure, Goto users list > the default local avatar should be displayed
Test steps
- Make sure there is at least one user available on site with the email address having NO Gravatar set
- Goto WordPress dashboard > Settings > Discussion
- Navigate to "Default Avatar" and select and click on "choose default avatar" and select image from media library
- Navigate to "Local Avatars Only", Make sure it should be unchecked
- Save the changes
Expected Result:
- When Simple local avatar is not set and Gravatar does not exist, and the Default Avatar is chosen from the Media Library, the chosen avatar image from the media library should be displayed as an avatar.
Test steps
- Make sure there is at least one user available on site with the email address having NO Gravatar set
- Goto WordPress dashboard > Settings > Discussion
- Navigate to "Default Avatar" and select any default avatar
- Navigate to "Local Avatars Only", Make sure it should be unchecked
- Save the changes
Expected Result:
- When simple local avatar is not set and Gravatar does not exist, and the “RoboHash (Generated)” is set as Default Avatar, the auto generated RoboHash avatar should be displayed.