Testing Area/Manual regression testing: Difference between revisions
From Mahara Wiki
< Testing Area
No edit summary |
|||
Line 1: | Line 1: | ||
= | =Mahara 18.04 user manual section 3. Dashboard= | ||
To test this 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''' | To test this 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''' | ||
==Login page== | ==Login page== | ||
'''Assumptions:''' To test this 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 | '''Assumptions:''' To test this 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 | ||
<div class="toccolours mw-collapsible mw- | <div class="toccolours mw-collapsible mw-expanded" style="background:linen"> | ||
====Things to test for Manually==== | ====Things to test for Manually==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 33: | Line 30: | ||
</div> | </div> | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed" style="background:ivory"> | ||
====Automated Test script scenarios==== | ====Automated Test script scenarios==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 96: | Line 93: | ||
'''Assumptions:''' To test this 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 | '''Assumptions:''' To test this 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 | ||
<div class="toccolours mw-collapsible mw- | <div class="toccolours mw-collapsible mw-expanded" style="background:linen"> | ||
====Things to test for Manually==== | ====Things to test for Manually==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 114: | Line 111: | ||
## Watched pages block displayed | ## Watched pages block displayed | ||
## footer is displayed and links functioning correctly | ## footer is displayed and links functioning correctly | ||
# '''Change page "Layout"''' | # '''Change page "Layout" functionality works''' | ||
# '''Change page "Skin"''' | # '''Change page "Skin" functionality works''' | ||
# '''Page edit functionality works''' Create edit and delete page blocks | # '''Page edit functionality works''' Create edit and delete page blocks | ||
# '''Page links working''' | # '''Page links working''' | ||
Line 121: | Line 118: | ||
</div> | </div> | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed" style="background:ivory"> | ||
====Automated Test script scenarios==== | ====Automated Test script scenarios==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 138: | Line 134: | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
:::'''Scenario:''' User | :::'''Scenario:''' User click "More" link to see more messages | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
:::'''Bagkground:''' | |||
<span style="color:red">TODO: Create step definition to populate DB with 60 messages</span> | |||
::::'''Given''' the following "60""Messages" exist: | |||
::::::| | | | |||
::::'''Given''' user is logged in <br /> | ::::'''Given''' user is logged in <br /> | ||
::::'''When''' user is on the "Dashboard"<br /> | ::::'''When''' user is on the "Dashboard"<br /> | ||
::::'''Then''' user should see "Inbox" block <br /> | ::::'''Then''' user should see "Inbox" block <br /> | ||
::::'''When''' I follow "More" <br /> | |||
::::'''And''' I select 10 from Results per page: | |||
::::'''Then''' I should be on "Notifications" page <br /> | |||
::::'''And''' I should see 10 messages displayed </br> | |||
:::''' | ::::'''And''' I should see pagination | ||
< | |||
:::''' | |||
::::''' | |||
::::''' | |||
::::''' | |||
</div> | </div> | ||
</div> | </div> | ||
Line 167: | Line 158: | ||
::::'''Given''' Some preconditions <br /> | ::::'''Given''' Some preconditions <br /> | ||
::::'''When''' user performs some action <br /> | ::::'''When''' user performs some action <br /> | ||
::::'''Then''' Something should happen | ::::'''Then''' Something should happen | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 20:56, 1 April 2018
Mahara 18.04 user manual section 3. Dashboard
To test this 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
Login page
Assumptions: To test this 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
Automated Test script scenarios
- Scenario: User should see correct page styling
- Given user is logged in
- When is on the "Mahara homepage"
- Then user should see "Raw" theme colours
- Given user is logged in
- Scenario: User invalid login
- Given user is not logged in
- And is on the Mahara homepage
- When user enters valid username
- And user enters invalid password
- Then user should see "You have not provided the correct credentials to log in. Please check your username and password are correct." error message
- And user should see "There was an error with submitting this form. Please check the marked fields and try again."
- And user will not be logged in
- Given user is not logged in
- Scenario: "Registration" links to "Registration" page
- Given user is not logged in
- And is on the "Mahara homepage"
- When user clicks "Registration" link
- Then user should be on the "Registration" page
- Given user is not logged in
- Scenario: "Lost username / password" links to "Forgotten your username or password?" page
- Given user is not logged in
- And is on the "Mahara homepage"
- When user clicks the "Lost username / password" link
- Then user should be on the "Forgotten your username or password?" page
- Given user is not logged in
- Scenario: User valid login
- Given user is not logged in
- And is on the "Mahara homepage"
- When user enters valid username
- And user enters valid password
- Then user should be on the "Dashboard" page
- And user will be logged in
- Given user is not logged in
Overview page
Assumptions: To test this 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
Automated Test script scenarios
- Scenario: User should see correct page styling
- Given user is logged in
- Then user should be on "Dashboard" page
- And user should see "Raw" theme colours
- Then automation script take screenshot
- And save the file in "Local folder"
- Given user is logged in
- Scenario: User click "More" link to see more messages
- Bagkground:
TODO: Create step definition to populate DB with 60 messages
- Given the following "60""Messages" exist:
- | | |
- Given user is logged in
- When user is on the "Dashboard"
- Then user should see "Inbox" block
- When I follow "More"
- And I select 10 from Results per page:
- Then I should be on "Notifications" page
- And I should see 10 messages displayed
- And I should see pagination
- Given the following "60""Messages" exist:
- Scenario: User changes Page layout from 2 column to 3 column layout
- Given Some preconditions
- When user performs some action
- Then Something should happen
- Given Some preconditions
- Scenario: User changes the page skin from default "Raw" pre-made site skin
- Given Some preconditions
- When user performs some action
- Then Something should happen
- Given Some preconditions
- Scenario: User adds block to page, edits new block and deletes block from page
- Given Some preconditions
- When user performs some action
- Then Something should happen
- Given Some preconditions
- Scenario: User wants to do something
- Given Some preconditions
- When user performs some action
- Then Something should happen
- Given Some preconditions