Difference between revisions of "Testing Area/Manual regression testing"
From Mahara Wiki
< Testing Area
Line 6: | Line 6: | ||
#'''Visual check''' | #'''Visual check''' | ||
## Login box correct colour | ## Login box correct colour | ||
− | ## buttons displayed | + | ## 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 loged in<br /> | #'''User invalid login'''- user should see an error message and will not be loged 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 34: | Line 36: | ||
</div> | </div> | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
+ | :::'''Scenario:''' "Registration" links to "Registration" page | ||
+ | <div class="mw-collapsible-content"> | ||
+ | ::::'''Given''' user is not logged in <br /> | ||
+ | ::::'''And''' is on the "Mahara homepage"<br /> | ||
+ | ::::'''When''' user clicks "Registration" link <br /> | ||
+ | ::::'''Then''' user should be on the "Registration" page<br /> | ||
+ | </div> | ||
+ | |||
+ | <div class="mw-collapsible mw-collapsed"> | ||
+ | :::'''Scenario:''' "Lost username / password" links to "Forgotten your username or password?" page | ||
+ | <div class="mw-collapsible-content"> | ||
+ | ::::'''Given''' user is not logged in <br /> | ||
+ | ::::'''And''' is on the "Mahara homepage"<br /> | ||
+ | ::::'''When''' user clicks the "Lost username / password" link<br /> | ||
+ | ::::'''Then''' user should be on the "Forgotten your username or password?" page<br /> | ||
+ | </div> | ||
===Overview=== | ===Overview=== |
Revision as of 17:46, 30 March 2018
Manual Test Cases
Dashboard Manual Testing
3.1. Login
- 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 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
- 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