Testing Area/Manual regression testing: Difference between revisions
From Mahara Wiki
< Testing Area
Line 21: | Line 21: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="background:#daecd6"> | <div class="toccolours mw-collapsible mw-collapsed" style="background:#daecd6"> | ||
==BUGS to test for Manually== | ==BUGS to test for Manually== | ||
'''All users with exception of root user has ctime set when they are first created''' <br/> | '''All users with exception of root user has ctime set when they are first created''' <br/> | ||
'''Original Bug:''' https://bugs.launchpad.net/mahara/+bug/1702198/comments/2 | '''Original Bug:''' https://bugs.launchpad.net/mahara/+bug/1702198/comments/2 | ||
Line 34: | Line 34: | ||
Date should be date user was created | Date should be date user was created | ||
----- | ----- | ||
'''Bug description:''' Mahara logo is cut off at the bottom in IE11. | '''Bug description:''' Mahara logo is cut off at the bottom in IE11. | ||
Line 52: | Line 44: | ||
'''Steps to reproduce:''' | '''Steps to reproduce:''' | ||
1. Open IE 11 and enter the URL to the Mahara instance.<br/> | |||
1. Open IE 11 and enter the URL to the Mahara instance. | '''Expected result:''' Mahara logo should be displayed properly without any cut off.<br/> | ||
2. Log in as ‘Institution admin’.<br/> | |||
'''Expected result:''' Mahara logo should be displayed properly without any | '''Expected result:''' Mahara logo should be displayed properly without any cut off.<br/> | ||
cut off. | |||
2. Log in as ‘Institution admin’. | |||
'''Expected result:''' Mahara logo should be displayed properly without any cut off. | |||
3. Navigate to Administration menu > Institutions > Settings.<br/> | 3. Navigate to Administration menu > Institutions > Settings.<br/> | ||
Line 71: | Line 58: | ||
----- | ----- | ||
'''Bug description:''' Add recaptcha field to contact us form when logged out<br/> | |||
'''Environment to be tested:''' Master<br/> | '''Environment to be tested:''' Master<br/> | ||
'''Browser to be tested:''' Any browser<br/> | '''Browser to be tested:''' Any browser<br/> | ||
''' | '''Precondition:''' | ||
Precondition:''' | |||
1. A user with 'Site admin' access exists.<br/> | 1. A user with 'Site admin' access exists.<br/> | ||
2. 'reCAPTCHA site key' & 'reCAPTCHA secret key' are generated.<br/> | 2. 'reCAPTCHA site key' & 'reCAPTCHA secret key' are generated.<br/> | ||
Line 84: | Line 69: | ||
'''Steps to reproduce:''' | '''Steps to reproduce:''' | ||
1. Log in as 'Site admin'.<br/> | 1. Log in as 'Site admin'.<br/> | ||
2. Navigate to Administration menu > Configure site > Site options > Security settings.<br/> | 2. Navigate to Administration menu > Configure site > Site options > Security settings.<br/> | ||
Line 92: | Line 76: | ||
6. Log out as 'Site admin'.<br/> | 6. Log out as 'Site admin'.<br/> | ||
7. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/> | 7. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/> | ||
'''Expected result:''' A captcha field is displayed on the form. | '''Expected result:''' A captcha field is displayed on the form. | ||
8. Enter an email into the 'Email' field.<br/> | 8. Enter an email into the 'Email' field.<br/> | ||
9. Enter the name 'Tester' into the 'Name' field.<br/> | 9. Enter the name 'Tester' into the 'Name' field.<br/> | ||
Line 100: | Line 82: | ||
11. Select the checkbox 'I'm not a robot'.<br/> | 11. Select the checkbox 'I'm not a robot'.<br/> | ||
12. Click the 'Send message' button.<br/> | 12. Click the 'Send message' button.<br/> | ||
'''Expected result:''' The Mahara homepage is displayed with a message 'Your message has been sent'. | '''Expected result:''' The Mahara homepage is displayed with a message 'Your message has been sent'. | ||
13. Log in as 'User one'.<br/> | 13. Log in as 'User one'.<br/> | ||
14. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/> | 14. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/> | ||
'''Expected result:''' The captcha field is not displayed on the form and the 'Email'and 'Name' fields are auto populated. | '''Expected result:''' The captcha field is not displayed on the form and the 'Email'and 'Name' fields are auto populated. | ||
15. Enter the text as 'This is a test message' into the 'Message' field.<br/> | 15. Enter the text as 'This is a test message' into the 'Message' field.<br/> | ||
16. Click the 'Send message' button.<br/> | 16. Click the 'Send message' button.<br/> | ||
'''Expected result:''' The Mahara dashboard page is displayed with a message 'Your message has been sent'. | |||
{| style="float:right; margin-left: 10px;" | |||
|---- | |||
|[[File:Profile_completion-Setup_-Institution-Mahara.png|thumb|200px|Login Block Ocean theme]] | |||
|---- | |||
|} |
Revision as of 13:15, 7 Mayıs 2018
This page will outline the manual testing of Mahara in sections as outlined in the Mahara user manual
Dashboard
To test the Dashboard page it is assumed that a fresh install of Mahara has taken place and user sets "Password" and "email" for the initial login. It is also assumed that there is a fresh database with no data. For more information of the dashboard please see Mahara 18.04 user manual section 3. Dashboard. This page will have screenshots of pages using the "Raw" theme. Other themes will need to be tested but will have to be set by the Site admin in the Site settings panel found here Admin menu > Configure site > Site options > Site settings
Testing/Manual testing/Dashboard
Content
Testing/Manual testing/Content
Portfolio
Testing/Manual testing/Portfolio
Groups
Blocks
BUGS to test for Manually
All users with exception of root user has ctime set when they are first created
Original Bug: https://bugs.launchpad.net/mahara/+bug/1702198/comments/2
Create new admin user and Log into Database using the following commands
sudo -u postgres psql - starts PSQL terminal \l - lists databases \c <db name> - connect to database Select ctime from usr where username='admin'; - returns date/time user was created
Date should be date user was created
Bug description: Mahara logo is cut off at the bottom in IE11.
Environment to be tested: Master Browser to be tested: IE 11
Precondition: The institution 'Institution A' exists and the user is a admin in that institution.
Steps to reproduce:
1. Open IE 11 and enter the URL to the Mahara instance.
Expected result: Mahara logo should be displayed properly without any cut off.
2. Log in as ‘Institution admin’.
Expected result: Mahara logo should be displayed properly without any cut off.
3. Navigate to Administration menu > Institutions > Settings.
4. Click the ‘Settings’ button for ‘Institution A’.
5. Upload a logo and Click the ‘Submit’ button.
6. Log out and Log in back as ‘Institution admin’.
Expected result: Mahara logo should be displayed properly without any cut off.
7. Compare the Mahara logo with another browser and verify if the dimensions are aligned properly.
Expected result: Mahara logo should have the same dimensions as the other browser.
Bug description: Add recaptcha field to contact us form when logged out
Environment to be tested: Master
Browser to be tested: Any browser
Precondition:
1. A user with 'Site admin' access exists.
2. 'reCAPTCHA site key' & 'reCAPTCHA secret key' are generated.
NOTE: You create the 'reCAPTCHA site key' & 'reCAPTCHA secret key' at https://www.google.com/recaptcha/admin
3. Normal user ‘User one’ exists.
Steps to reproduce:
1. Log in as 'Site admin'.
2. Navigate to Administration menu > Configure site > Site options > Security settings.
3. Switch 'reCAPTCHA on user registration/contact us forms' to 'Yes'.
4. Enter the 'reCAPTCHA site key' & 'reCAPTCHA secret key'.
5. Click the 'Update site options' button.
6. Log out as 'Site admin'.
7. Click the hyperlink 'Contact us', which is at the bottom of the page.
Expected result: A captcha field is displayed on the form.
8. Enter an email into the 'Email' field.
9. Enter the name 'Tester' into the 'Name' field.
10. Enter the text as 'This is a test message' into the 'Message' field.
11. Select the checkbox 'I'm not a robot'.
12. Click the 'Send message' button.
Expected result: The Mahara homepage is displayed with a message 'Your message has been sent'.
13. Log in as 'User one'.
14. Click the hyperlink 'Contact us', which is at the bottom of the page.
Expected result: The captcha field is not displayed on the form and the 'Email'and 'Name' fields are auto populated.
15. Enter the text as 'This is a test message' into the 'Message' field.
16. Click the 'Send message' button.
Expected result: The Mahara dashboard page is displayed with a message 'Your message has been sent'.