Testing Area/Manual regression testing: Difference between revisions
From Mahara Wiki
< Testing Area
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Manual Test Cases= | |||
==Dashboard Manual Testing== | ==Dashboard Manual Testing== | ||
< | {{Collapsible sections option | ||
| list = | |||
| example = <!--(optional)--> | |||
| default = <!--(optional)--> | |||
}} | |||
===Login=== | ===Login=== | ||
====Things to test for==== | ====Things to test for==== | ||
#'''Visual check''' | #'''Visual check''' | ||
Line 12: | Line 16: | ||
## fields displayed "Username" & "Password" | ## fields displayed "Username" & "Password" | ||
## Links displayed "Register" & "Lost username / password" | ## Links displayed "Register" & "Lost username / password" | ||
#'''User invalid login'''- user should see an error message and will not be | #'''User invalid login'''- user should see an error message and will not be logged in<br /> | ||
#'''User valid login'''- user should be logged in and and redirected to the '''''Dashboard''''' page | #'''User valid login'''- user should be logged in and and redirected to the '''''Dashboard''''' page | ||
Line 56: | Line 60: | ||
::::'''When''' user clicks the "Lost username / password" link<br /> | ::::'''When''' user clicks the "Lost username / password" link<br /> | ||
::::'''Then''' user should be on the "Forgotten your username or password?" page<br /> | ::::'''Then''' user should be on the "Forgotten your username or password?" page<br /> | ||
---- | |||
<div class="mw-collapsible" data-expandtext="show more" data-collapsetext="hide me"> | <div class="mw-collapsible" data-expandtext="show more" data-collapsetext="hide me"> | ||
===3.3 Overview=== | ===3.3 Overview=== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
====Things to test for==== | |||
# visual check | |||
## page uses correct colours | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 10:53, 31 March 2018
Manual Test Cases
Dashboard Manual Testing
Login
Things to test for
- Visual check
- Login box correct colour
- buttons displayed "Login"
- fields displayed "Username" & "Password"
- Links displayed "Register" & "Lost username / password"
- User invalid login- user should see an error message and will not be logged in
- User valid login- user should be logged in and and redirected to the Dashboard page
Manual Test script scenarios
- 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: 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
- 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
Login
Things to test for
- Visual check
- Login box correct colour
- buttons displayed "Login"
- fields displayed "Username" & "Password"
- Links displayed "Register" & "Lost username / password"
- User invalid login- user should see an error message and will not be logged in
- User valid login- user should be logged in and and redirected to the Dashboard page
Manual Test script scenarios
- 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: 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
- 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
3.3 Overview
Things to test for
- visual check
- page uses correct colours