Testing Area/Manual regression testing: Difference between revisions
From Mahara Wiki
< Testing Area
Line 101: | Line 101: | ||
::::'''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 /> | ||
</div> | </div> | ||
Line 107: | Line 106: | ||
:::'''Scenario:''' Some scenario | :::'''Scenario:''' Some scenario | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
:::'''Bagkground:''' | |||
::::''' | ::::'''Given''' the following "users" exist: | ||
:::: | ::::::| username | password | email | firstname | lastname | institution | authname | role | | ||
:: | ::::::| UserA | Kupuhipa1 | [email protected] | Angela | User | mahara | internal | member | | ||
:: | |||
:::: | |||
::::'''Given''' Some preconditions <br /> | ::::'''Given''' Some preconditions <br /> | ||
::::'''When''' user performs some action <br /> | ::::'''When''' user performs some action <br /> |
Revision as of 19:34, 31 March 2018
Manual Test Cases
Dashboard Manual Testing
Login page
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 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: 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
Overview page
Things to test for
- Visual check
- Page styling correct colour
- Raw theme
- Primary School theme
- Ocean theme
- Default blocks displayed
- Page styling correct colour
- Page edit functionality works Create edit and delete page blocks
- Other page functionality Block pagination
- Page links working
Manual 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 can see messages in "Inbox" block
- Given user is logged in
- When user is on the "Dashboard"
- Then user should see "Inbox" block
- Given user is logged in
- Scenario: Some scenario
- Bagkground:
- Given the following "users" exist:
- | username | password | email | firstname | lastname | institution | authname | role |
- | UserA | Kupuhipa1 | [email protected] | Angela | User | mahara | internal | member |
- Given the following "users" exist:
- Bagkground:
- Given Some preconditions
- When user performs some action
- Then Something should happen
- Given Some preconditions