Actions

Difference between revisions of "Testing Area/Manual regression testing"

From Mahara Wiki

< Testing Area
Line 60: Line 60:
  
 
----
 
----
 +
===Overview page===
 
<div class="mw-collapsible" data-expandtext="show more" data-collapsetext="hide me">
 
<div class="mw-collapsible" data-expandtext="show more" data-collapsetext="hide me">
===Overview page===
+
====Things to test for====
 +
<div class="mw-collapsible-content">
 +
 
 +
#'''Visual check'''
 +
## Page styling correct colour
 +
### Raw theme
 +
### Primary School theme
 +
### Ocean theme
 +
## Default blocks displayed
 +
# Page edit functionality works
 +
## Create edit and delete page blocks
 +
# Other page functionality
 +
## Block pagination
 +
# Page links working
 +
</div>
 +
====Manual Test script scenarios====
 +
 
 +
<div class="mw-collapsible mw-collapsed">
 +
:::'''Scenario:''' User can see messages in "Inbox" block
 +
<div class="mw-collapsible-content">
 +
::::'''Given''' user is logged in <br />
 +
::::'''When''' user is on the "Dashboard"<br />
 +
::::'''Then''' user should see "Inbox" block <br />
 +
 
 +
</div>
 +
 
 +
<div class="mw-collapsible mw-collapsed">
 +
:::'''Scenario:''' Some scenario
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
====Things to test for====
+
::::'''Given''' user is not logged in <br />
# '''visual check'''
+
::::'''And''' is on the "Mahara homepage" <br />
## page uses correct colours
+
::::'''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>
  
 +
<div class="mw-collapsible mw-collapsed">
 +
:::'''Scenario:''' Some scenario
 +
<div class="mw-collapsible-content">
 +
::::'''Given''' Some preconditions <br />
 +
::::'''When''' user performs some action <br />
 +
::::'''Then''' Something should happen <br />
 
</div>
 
</div>
 +
 +
 +
----

Revision as of 11:49, 31 March 2018

Manual Test Cases

Dashboard Manual Testing

Login page

Things to test for

  1. Visual check
    1. Login box correct colour
    2. buttons displayed "Login"
    3. fields displayed "Username" & "Password"
    4. Links displayed "Register" & "Lost username / password"
  2. User invalid login- user should see an error message and will not be logged in
  3. 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
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
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

Overview page

Things to test for

  1. Visual check
    1. Page styling correct colour
      1. Raw theme
      2. Primary School theme
      3. Ocean theme
    2. Default blocks displayed
  2. Page edit functionality works
    1. Create edit and delete page blocks
  3. Other page functionality
    1. Block pagination
  4. Page links working

Manual Test script scenarios

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
Scenario: Some scenario
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
Scenario: Some scenario
Given Some preconditions
When user performs some action
Then Something should happen