Actions

Testing/Manual testing/Dashboard

From Mahara Wiki

< Testing
Revision as of 14:26, 4 April 2018 by Stevens (talk | contribs)

Mahara 18.04 user manual section 3. Dashboard

To test this page it is assumed that a fresh install of Mahara has taken place and user sets "Password" and "email" for the initial login. It is also assumed that there is a fresh database with no data. For more information of the dashboard please see Mahara 18.04 user manual section 3. Dashboard. This page will have screenshots of pages using the "Raw" theme. Other themes will need to be tested but will have to be set by the Site admin in the Site settings panel found here Admin menu > Configure site > Site options > Site settings

Mahara 18.04 user manual section 3.1 Login

Things to test for Manually

  1. Visual check
    1. Login page uses correct colour "Raw" TODO: We need to find a way to toggle this easily
    2. header elements displayed
      1. Mahara logo displayed -top left of page
      2. Search bar displayed
      3. navigation menus displayed - User menu, Administration menu and Main menu
    3. Static Welcome Page title h1 displayed
    4. Text "Edit this text via "Administration menu" → "Configure site" → "Static pages"." is displayed with link to "Static pages" page
    5. Clicking "Static pages" link - takes user to a Log in to Mahara page with only the Login Block displayed
    6. Static "Quick links" displayed but link functionality suppressed until user logs in
    7. buttons displayed "Login"
    8. fields displayed "Username" & "Password"
    9. Links displayed "Register" & "Lost username / password"
    10. footer is displayed and links functioning correctly
  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
  4. "Registration" link is displayed and functioning
  5. "Lost username / password" link is displayed and functioning

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
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: "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
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

Mahara 18.04 user manual section 3.2 Login with strict privacy

Things to test for Manually

TODO:

Test script scenarios

TODO:

This is where Automated test scenarios go

Mahara 18.04 user manual section 3.3 Overview page

Things to test for Manually

  1. Visual check
    1. Login page uses correct colour "Raw"
    2. header elements displayed
    3. Welcome Page title h1 displayed
    4. Text "Edit this text via "Administration menu" → "Configure site" → "Static pages"." is displayed with link to "Static pages" page
    5. "Quick links" block is displayed with correct links to respective pages
    6. user info block displayed
    7. online users block displayed
    8. Latest changes I can view block displayed
    9. My portfolios block displayed
    10. Inbox block displayed
    11. Topics I am following block displayed
    12. Watched pages block displayed
    13. footer is displayed and links functioning correctly
  2. Change page "Layout" functionality works
  3. Change page "Skin" functionality works
  4. Page edit functionality works Create edit and delete page blocks
  5. Page links working Tester can use Chrome extension Link Checker or dev tools to determine "200 code return"

Test script scenarios

Scenario: User should see correct page styling
Given user is logged in
Then user should be on "Dashboard" page
And user should see "Raw" theme colours
Then automation script take screenshot
And save the file in "Local folder"
Scenario: User click "More" link to see more messages
Bagkground:

TODO: Create step definition to populate DB with 60 messages

Given the following "60""Messages" exist:
| | |
Given user is logged in
When user is on the "Dashboard"
Then user should see "Inbox" block
When I follow "More"
And I select 10 from Results per page:
Then I should be on "Notifications" page
And I should see 10 messages displayed
And I should see pagination
Scenario: User changes Page layout from 2 column to 3 column layout
Given Some preconditions
When user performs some action
Then Something should happen
Scenario: User changes the page skin from default "Raw" pre-made site skin
Given Some preconditions
When user performs some action
Then Something should happen
Scenario: User adds block to page, edits new block and deletes block from page
Given Some preconditions
When user performs some action
Then Something should happen
Scenario: User wants to do something
Given Some preconditions
When user performs some action
Then Something should happen

Mahara 18.04 user manual section 3.4. Navigation

Things to test for Manually

  1. Visual check main navigation
    1. Profile image - silhouette by default and is apart of the user menu
    2. User menu - The user menu is visible to all users. It allows you to acces your account settings, inbox, and profile easily.
    3. Administration menu - if you have access to administration functionality, you see a second menu, the administration menu.
    4. Main menu - is visible to all users and allows everyone to navigate to their content, portfolios, and groups.

Test script scenarios

TODO:

This is where Automated test scenarios go

Mahara 18.04 user manual section 3.5. Quick links

Things to test for Manually

  1. Visual check three new boxes with quick links displayed
    1. Create (Develop your Portfolio)
    2. Share (Control your privacy)
    3. Engage (find people and join groups
  2. hover state functionality
  3. Verify links redirect to their respective pages
    1. Create = Pages and collections page
    2. Share = Share page
    3. Engage = Find groups page
  4. Hide information box - link to remove block

NOTE: This block will look very different depending on the theme used

Test script scenarios

TODO:

This is where Automated test scenarios go

Mahara 18.04 user manual section 3.6. User-specific information

Things to test for Manually

  1. Visual check default blocks in main content area on Dashboard page
    1. Latest changes I can view - No pages or collections.
    2. My portfolios - blank
    3. Inbox - No messages
    4. Topics I’m following - No messages
    5. Watched pages - There are no pages on your watchlist.
  2. Edit Dashboard tab is displayed and links to "Admin User's dashboard | Edit" page

NOTE: These blocks will be empty but will be filled with content once you start using Mahara and create pages, receive messages from other users, have access to others’ portfolio pages and use the forums for discussions

Test script scenarios

TODO:

This is where Automated test scenarios go

Mahara 18.04 user manual section 3.7. Footer

Things to test for Manually

  1. Visual check footer has theme styling
    1. Mahara footer logo is displayed
  2. Links displayed in footer
    1. Legal = Legal page
    2. About = About page
    3. Contact us = Contact us page
    4. Help = Mahara 18.04 user manual

NOTE: The site administrator can decide in the configuration of the footer whether to display the links “Legal”, “About us”, “Contact us”, and “Help”

Test script scenarios

TODO:

This is where Automated test scenarios go