Testing Area/Manual regression testing: Difference between revisions
From Mahara Wiki
< Testing Area
Line 10: | Line 10: | ||
#'''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 | ||
====Manual Test script==== | ====Manual Test script scenarios==== | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
'''Scenario:''' User invalid login | :::'''Scenario:''' User invalid login | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
:'''Given''' user is not logged in <br /> | :'''Given''' user is not logged in <br /> | ||
Line 22: | Line 22: | ||
:'''And''' user will not be logged in | :'''And''' user will not be logged in | ||
</div> | </div> | ||
<div class="mw-collapsible mw-collapsed"> | |||
:::'''Scenario:''' User valid login | |||
<div class="mw-collapsible-content"> | |||
:'''Given''' user is not logged in <br /> | |||
:'''And''' is on the "Mahara homepage"<br /> | |||
:'''When''' user enters valid username <br /> | |||
:'''And''' user enters valid password <br /> | |||
:'''Then''' user should be on the "Dashboard" page<br /> | |||
:'''And''' user will be logged in | |||
</div> | |||
===Overview=== | ===Overview=== |
Revision as of 18:02, 30 March 2018
Manual Test Cases
Dashboard Manual Testing
3.1. Login
- Visual check
- Login box correct colour
- buttons displayed
- User invalid login- user should see an error message and will not be loged 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
- 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