Actions

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

From Mahara Wiki

< Testing Area
Line 14: Line 14:
 
:::'''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 />
:'''And''' is on the Mahara homepage<br />
+
::::'''And''' is on the Mahara homepage<br />
:'''When''' user enters valid username <br />
+
::::'''When''' user enters valid username <br />
:'''And''' user enters invalid password <br />
+
::::'''And''' user enters invalid password <br />
:'''Then''' user should see "You have not provided the correct credentials to log in. Please check your username and password are correct." error message<br />
+
::::'''Then''' user should see "You have not provided the correct credentials to log in. Please check your username and password are correct." error message<br />
:'''And''' user should see "There was an error with submitting this form. Please check the marked fields and try again."<br />
+
::::'''And''' user should see "There was an error with submitting this form. Please check the marked fields and try again."<br />
:'''And''' user will not be logged in
+
::::'''And''' user will not be logged in
 
</div>
 
</div>
  
Line 26: Line 26:
 
:::'''Scenario:''' User valid login
 
:::'''Scenario:''' User valid 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 />
:'''And''' is on the "Mahara homepage"<br />
+
::::'''And''' is on the "Mahara homepage"<br />
:'''When''' user enters valid username <br />
+
::::'''When''' user enters valid username <br />
:'''And''' user enters valid password <br />
+
::::'''And''' user enters valid password <br />
:'''Then''' user should be on the "Dashboard" page<br />
+
::::'''Then''' user should be on the "Dashboard" page<br />
:'''And''' user will be logged in
+
::::'''And''' user will be logged in
 
</div>
 
</div>
  

Revision as of 17:04, 30 March 2018

Manual Test Cases

Dashboard Manual Testing

3.1. Login

  1. Visual check
    1. Login box correct colour
    2. buttons displayed
  2. User invalid login- user should see an error message and will not be loged 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


Overview

Navigation

Quick links

User-specific information