Actions

Template

Template:Collapsible sections option

From Mahara Wiki

Login

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