Actions

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

From Mahara Wiki

< Testing Area
 
(70 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page will outline the manual testing of Mahara in sections as outlined in the [http://manual.mahara.org/en/18.04/index.html Mahara user manual]
+
==Manual regression testing==
 +
This page outlines the manual regression testing for Mahara releases (6 monthly; YY.04 and YY.10).
  
==Manual Testing Important Information==
+
Automated (unit and Behat) and manual testing is performed during the release development period for each Launchpad/Gerrit item prior to its merge into the master branch (see [https://wiki.mahara.org/wiki/Testing_Area/Manual_item_testing Manual] item testing in this page's parent page).  Regression testing is then performed upon the release candidate prior to its actual go-live. This page contains an overview of the manual regression testing i.e. coverage of main functionality, such as email interaction, that is not being addressed by automated testing. It also provides a record of main screen presentations.
For manual testing 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'''. Other '''themes will have to be set by the Site admin in the Site settings panel''' found here Admin menu > Configure site > Site options > Site settings
 
  
<!--#################################################### DASHBOARD #############################################################################-->
+
==Manual Regression Testing Preconditions==
  
<div class="toccolours mw-collapsible mw-collapsed" style="background:#c7d6c6">
+
For manual regression testing it is assumed that:
====Manual Test script scenarios for Dashboard====
+
# a '''fresh install of Mahara has taken place''' and "Password" and "email" are set for the initial Site admin login
 +
# there is '''a fresh database with no data'''
 +
# Mahara emails have been set to be delivered to an inbox the tester has access to (via config.php & see next point's 'Site settings')
 +
# the ''' theme will be (re-)set''' by the Site admin in Admin menu > Configure site > Site options > Site settings
 +
# at least one account (named PersonA) other than the Site admin account is active (via manual individual account add or csv file account creation)
 +
# the default browser (used to take the actual result screen shots) is currently Chrome running on a Windows10 (virtual) machine
 +
# other test platforms include Win10-Edge and Win10-Firefox (OSx-Safari & Android-Chrome if time permits)
 +
# the latest stable browser versions are used.
 +
 
 +
==Manual Regression Testing Scenarios==
 +
 
 +
<!--########################################## (LOG IN/LOGGED OUT) 'HOME" pages ###########################################################-->
 +
 
 +
<div class="toccolours mw-collapsible mw-collapsed" style="background:#ffffff">
 +
 
 +
===Manual test scenarios for LogIn and Logged Out (Homepage) pages===
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User should see correct page styling
+
:::'''Homepage Scenario 1:''' Mahara "Homepage" (log in page) content and styling is correct.
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Ocean theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Ocean theme]]
+
|[[File:Win10-Edge Raw theme - Log InOut - MaharaRel20-10.png|thumb|200px| Raw theme]]
|[[File:Modern theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Modern theme]]
+
|[[File:Win10-Edge Primary school theme - Log InOut - MaharaRel20-10.png|thumb|200px|Primary school theme]]
|[[File:Primary school theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Primary school theme]]
+
|[[File:Win10-Edge Default theme - Log InOut - MaharaRel20-10.png|thumb|200px|Default theme]]
|[[File:Raw theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px| Raw theme]]
+
|[[File:Win10-Edge Ocean theme - Log InOut - MaharaRel20-10.png|thumb|200px|Ocean theme]]
 +
|[[File:Win10-Edge Modern theme - Log InOut - MaharaRel20-10.png|thumb|200px|Modern theme]]
 +
|[[File:Win10-Edge Maroon theme - Log InOut - MaharaRel20-10.png|thumb|200px|Maroon theme]]
 
|----
 
|----
 
|}  
 
|}  
::::'''Given''' user is logged in
+
::::'''Given''' PersonA has their browser open
::::'''When''' user is on the "Mahara homepage"
+
::::'''When''' PersonA enters the correct URL for Mahara
::::'''Then''' user should see "Raw" theme colours  
+
::::'''Then''' PersonA should see the "Mahara homepage" content displayed in the correct theme colours and style.
<!-- <span style="color:red">Compare the page with the screenshots for correct theme colours</span> -->
+
<!-- <span style="color:red">Compare the page with the screenshots for correct theme colours, fonts and style. </span> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
</div>
 
</div>
 
</div>
 
</div>
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User can see help icon in the login block
+
:::'''Homepage Scenario 2:''' PersonA can successfully reset their Mahara password.
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Login_Block_05_04_18_09-25-11.png|thumb|100px|Login Block Ocean theme]]
+
|[[File:ResetLoginEmail_06_04_18_05-59-52.png|thumb|200px|Reset Email Instructions]]
|[[File:ModerLogin 05 04 18 15-19-33.png|thumb|100px|Login Block Modern theme]]
 
|[[File:PrimarySchoolLogin_05_04_18_15-16-36.png|thumb|100px|Login Block Primary school theme]]
 
|[[File:RawLogin_05_04_18_15-20-47.png|thumb|100px|Login Block Raw theme]]
 
 
|----
 
|----
 
|}
 
|}
 
+
::::'''Given''' PersonA is on the "homepage"
::::'''Given''' user is not logged in  
+
::::'''When''' PersonA follows "Lost username / password"
::::'''And''' the SIte theme is set to "Modern Theme"
+
::::'''And''' PersonA fills in "Email address or username" with "PersonA"
::::'''When''' user is on the login page
+
::::'''And''' PersonA presses "Send request"
::::'''Then''' user should see a help icon displayed in top right corner of login block
+
::::'''Then''' PersonA should see "You should receive an email shortly with a link that you can use to change the password for your account."
 
+
::::'''And'''  an email is received <span style="color:red"> - manually inspect inbox to ensure email was sent and is correct.</span>
 
+
::::'''When''' PersonA follows "Email confirmation link"
 
+
::::'''Then''' PersonaA fills in "New password" with ".3Kg@4!O"
 
+
::::'''And''' PersonaA fills in "Re-enter password" with ".3Kg@4!O"
 
+
::::'''And''' PersonA presses "Send request"
 
+
::::'''Then''' PersonA should see their Dashboard displayed
 
+
::::'''When''' PersonA follows "Log out"
 
+
::::'''Then''' PersonA should see the Mahara "homepage" displayed correctly
 
+
::::'''When''' PersonA fills in "Username" with "PersonA"
 
+
::::'''And''' PersonA fills in "Password" with ".3Kg@4!O"
 +
::::'''And''' PersonA presses "Log in"
 +
::::'''Then''' PersonA should see their Dashboard displayed
 
</div>
 
</div>
 
</div>
 
</div>
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' "Registration" links to "Registration" page
+
:::'''Homepage Scenario 3:''' Logged out person should see correct page content and styling
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Ocean theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Registration page Ocean theme]]
+
|[[File:Raw theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px| Raw theme]]
|[[File:Modern theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Registration page Modern theme]]
+
|[[File:Primary school theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Primary school theme]]
|[[File:Primary school theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Registration page Primary school theme]]
+
|[[File:Default theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Default theme]]
|[[File:Raw theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Registration page Raw theme]]
+
|[[File:Ocean theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Ocean theme]]
 +
|[[File:Modern theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Modern theme]]
 
|----
 
|----
|}
+
|}  
 +
::::'''Given''' person has their browser open
 +
::::'''When''' person enters the correct URL for Mahara
 +
::::'''Then''' they should see the "Mahara homepage" content displayed in the correct theme colour and style.
 +
<!-- <span style="color:red">Compare the page with the screenshots for correct theme colours</span> -->
 +
</div>
 +
</div>
 +
 
 +
</div>
  
::::'''Given''' I am on homepage
+
<!--#################################################### DASHBOARD page ###############################################################-->
::::'''When''' I follow "Register"
+
<div class="toccolours mw-collapsible mw-collapsed" style="background:#ffffff">
::::''' And I fill in the following:
 
::::::: | First name | Lightening |
 
::::::: | Last name | McQueen |
 
::::::: | Email address | [email protected] |
 
::::::: | Registration reason | I will absolutely make this institution more amazing!! |
 
::::'''And''' I press "Send request"
 
::::'''Then''' I should see "You should receive an email shortly with a link that you can use to change the password for your account."
 
::::'''And''' email is recieved <span style="color:red">- this requires a manual inspection of email address to ensure email was sent and is correct</span>
 
  
</div>
+
===Manual test scenarios for [default] Dashboard page===
</div>
+
<div class="mw-collapsible-content">
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User clicks "Lost username / password" to receive an email to log into site
+
:::'''Dashboard Scenario 1:''' Site admin should see correct Dashboard page content and styling
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:ResetLoginEmail_06_04_18_05-59-52.png|thumb|200px|Reset Email Instructions]]
+
|[[File:Raw theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px| Raw theme]]
 +
|[[File:Primary school theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Primary school theme]]
 +
|[[File:Default theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Default theme]]
 +
|[[File:Ocean theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Ocean theme]]
 +
|[[File:Modern theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Modern theme]]
 
|----
 
|----
|}
+
|}  
 
+
::::'''Given''' Site admin has an active Mahara site administrator account
::::'''Given''' I am on homepage
+
::::'''When''' they successfully complete the Mahara log in process
::::'''When''' I follow "Lost username / password"
+
::::'''Then''' they should see correct page content and styling for the default site administrator Dashboard page.
::::'''And''' I fill in "Email address or username" with "UserA"
+
<!-- <span style="color:red">Compare the page with the screenshots for correct theme colours</span> -->
::::'''And''' I press "Send request"
 
::::'''Then''' I should see "You should receive an email shortly with a link that you can use to change the password for your account."
 
::::'''And''' email is recieved <span style="color:red">- this requires a manual inspection of email address to ensure email was sent and is correct</span>
 
 
 
 
 
  
 
</div>
 
</div>
Line 121: Line 121:
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario: '''Profile completion block is displayed correctly and functioning
+
:::'''Dashboard Scenario 2:''' PersonA (non-admin) should see correct Dashboard page content and styling
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:ProfileCompletionBlock2_24-05-18-10-20-01.png|thumb|200px|Profile completion block]]
+
|[[File:Raw theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px| Raw theme]]
 +
|[[File:Primary school theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Primary school theme]]
 +
|[[File:Default theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Default theme]]
 +
|[[File:Ocean theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Ocean theme]]
 +
|[[File:Modern theme - Dashboard - Mahara - 04 - 04 - 2018.png|thumb|200px|Modern theme]]
 
|----
 
|----
|}
+
|}  
 
+
::::'''Given''' PersonA has an active non-administrative Mahara account
::::'''Given''' the Profile completion is turned on (Admin menu > Site options > User settings > Show profile completion = Yes)
+
::::'''When''' they successfully complete the Mahara log in process
::::'''And''' Profile completions fields have been selected by Admin ( Admin menu > Institution > Profile completion - selected profile fields)
+
::::'''Then''' they should see correct page content and styling for the default Dashboard page.
::::'''And''' user is logged in <br />
+
<!-- <span style="color:red">Compare the page with the screenshots for correct theme colours</span> -->
::::'''When''' user is on "Dashboard" page <br />
 
::::'''Then''' user should see a "Profile completion block" in the right hand column of the page
 
::::'''When''' user has completed the required fields of their profile pages
 
::::'''Then''' user should see the progress bar highlighted with a colour and a percentage of completed fields in the Profile completion block
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
</div>
 
</div>
</div>
 
 
<!--##################################################### PROFILE ############################################################################-->
 
  
<div class="toccolours mw-collapsible mw-collapsed" style="background:#c7d6c6">
+
<!--##################################################### PROFILE page ###################################################################-->
 +
<div class="toccolours mw-collapsible mw-collapsed" style="background:#ffffff">
  
====Manual Test script scenarios for Profile pages====
+
===Manual test scenarios for [default] Profile page===
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User should see correct page styling
+
:::'''Profile scenario 1:''' PersonA should see correct page content and styling on their default Profile page.
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Profile_-About_Me-Mahara-Raw.png|thumb|200px|Ocean theme]]
+
|[[File:Profile-About_Me-Mahara-Raw.png|thumb|200px|Raw theme]]
 +
|[[File:Profile-About_Me-Mahara-Primary_school.png|thumb|200px|Primary school theme]]
 +
|[[File:Profile-About_Me-Mahara-Default.png|thumb|200px|Default theme]]
 
|[[File:Profile-About_Me-Mahara-Modern.png|thumb|200px|Modern theme]]
 
|[[File:Profile-About_Me-Mahara-Modern.png|thumb|200px|Modern theme]]
|[[File:Profile-About_Me-Mahara-Ocean.png|thumb|200px|Primary school theme]]
+
|[[File:Profile-About_Me-Mahara-Ocean.png|thumb|200px|Ocean theme]]
|[[File:Profile-About_Me-Mahara-Primary_school.png|thumb|200px|Raw theme]]
 
 
|----
 
|----
 
|}
 
|}
 
  
 
#'''Visual check'''
 
#'''Visual check'''
Line 187: Line 177:
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' Multiple Email Functionality
+
:::'''Profile scenario 2:''' Multiple Email Functionality
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
Line 202: Line 191:
 
::::'''Then''' user should see message "You cannot remove your primary email address." displayed
 
::::'''Then''' user should see message "You cannot remove your primary email address." displayed
 
::::'''And''' the email address will not be deleted
 
::::'''And''' the email address will not be deleted
 
 
  
 
::::'''Scenario:''' <span style="color:blue">One or more email addresses:</span> The primary email does not have delete button. When the primary address is changed, it should receive the delete button and the now primary email address gets it removed.
 
::::'''Scenario:''' <span style="color:blue">One or more email addresses:</span> The primary email does not have delete button. When the primary address is changed, it should receive the delete button and the now primary email address gets it removed.
Line 220: Line 207:
 
::::'''And''' clicks the delete icon associated with the first email in the list  
 
::::'''And''' clicks the delete icon associated with the first email in the list  
 
::::'''And''' then the first email in the list will be deleted  
 
::::'''And''' then the first email in the list will be deleted  
 
 
 
</div>
 
</div>
 
</div>
 
</div>
Line 228: Line 213:
 
</div>
 
</div>
  
<!--##################################################### Portfolio ############################################################################-->
+
<!--##################################################### CREATE pages ##################################################################-->
 +
<div class="toccolours mw-collapsible mw-collapsed" style="background:#ffffff">
  
<div class="toccolours mw-collapsible mw-collapsed" style="background:#c7d6c6">
+
===Manual test scenarios for Create pages===
====Manual Test script scenarios for Portfolio pages====
 
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User should see correct page styling
+
:::'''Create Pages and Collections scenario 1 :''' PersonA should see correct page content and styling on their default Create 'Pages and Collections' home page
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
 +
|[[File:PortfolioOverviewRaw_18-05-18-14-29-30.png|thumb|200px|Raw theme]]
 +
|[[File:PortfolioOverviewPrimarySchool_18-05-18-14-29-30.png|thumb|200px|Primary school theme]]
 +
|[[File:PortfolioOverviewDefault_18-05-18-14-29-30.png|thumb|200px|Default theme]]
 
|[[File:PortfolioOverviewModern_18-05-18-14-29-30.png|thumb|200px|Ocean theme]]
 
|[[File:PortfolioOverviewModern_18-05-18-14-29-30.png|thumb|200px|Ocean theme]]
 
|[[File:PortfolioOverviewOcean_18-05-18-14-29-30.png|thumb|200px|Modern theme]]
 
|[[File:PortfolioOverviewOcean_18-05-18-14-29-30.png|thumb|200px|Modern theme]]
|[[File:PortfolioOverviewPrimarySchool_18-05-18-14-29-30.png|thumb|200px|Primary school theme]]
 
|[[File:PortfolioOverviewRaw_18-05-18-14-29-30.png|thumb|200px|Raw theme]]
 
 
|----
 
|----
 
|}
 
|}
 
 
#'''Visual check'''
 
#'''Visual check'''
 
## Profile page uses correct colour "Raw"  
 
## Profile page uses correct colour "Raw"  
Line 257: Line 241:
 
# '''Page edit functionality works''' Create edit and delete page blocks
 
# '''Page edit functionality works''' Create edit and delete page blocks
 
# '''Page links working''' Tester can use Chrome extension Link Checker or dev tools to determine "200 code return"
 
# '''Page links working''' Tester can use Chrome extension Link Checker or dev tools to determine "200 code return"
 
 
 
 
</div>
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
 
<!--##################################################### Leap2a Imports ############################################################################-->
 
 
<div class="toccolours mw-collapsible mw-collapsed" style="background:#c7d6c6">
 
====Manual Test script scenarios for Leap2A import====
 
<div class="mw-collapsible-content">
 
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User can upload a Leap2A file
+
:::'''Create Files scenario 1:''' PersonA should see correct page content and styling on their default Create 'Files' home page
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Import_leap2a_08-06-18-11-19-06.png|thumb|200px|Leap2a import page]]
+
|[[File:Files_page_24-05-18-10-52-37.png|thumb|200px]]
|[[File:Import_leap2a_choose_items_08-06-18-11-08-46.png|thumb|200px|Leap2A imported data]]
 
 
|----
 
|----
 
|}
 
|}
 +
#'''Visual check'''
 +
## Profile page uses correct colour "Raw"
 +
## header elements displayed
 +
## Static Profile Page title h1 displayed
 +
## online users block displayed
 +
## footer is displayed and links functioning correctly
 +
# '''Change page "Layout" functionality works'''
 +
# '''Change page "Skin" functionality works'''
 +
# '''Page edit functionality works''' Create edit and delete page blocks
 +
# '''Page links working''' Tester can use Chrome extension Link Checker or dev tools to determine "200 code return"
 +
</div>
 +
</div>
  
 +
<div class="toccolours mw-collapsible mw-collapsed">
 +
:::'''Create Files scenario 2:''' User "Quota" block updates as files are added
 +
<div class="mw-collapsible-content">
 +
# Confirm that when files are added the '''Quota block updates''' and the display bar is filled in accordingly.
  
'''Preconditions:'''
+
</div>
 +
</div>
  
# User has a Leap2A zip file from a previous export of all of "Admin User" data.
+
<div class="toccolours mw-collapsible mw-collapsed">
# user has unzipped the file which should include 
+
:::'''Create Files scenario 3:''' Image files can be edited and rotated
## files folder containing image files, document files that have been used on users's profile/portfolio
+
<div class="mw-collapsible-content">
## leap2a.xml file
 
 
 
'''Test Script:'''  
 
 
 
# user (someone other than admin) log in
 
# Browse to Main menu > Portfolio > Import
 
# Click the choose a file and upload the "leap2a.xml" file of the Admin User profile
 
# Click the import button
 
# Confirm you see the all the data that will be imported
 
# Select the information you want to ignore, append, replace or add new
 
# click the "Import" button
 
# Note that you will have to upload the files into the folders
 
# view the areas that you have added ie Portfolio pages
 
# confirm that the new pages are displayed with the content on the pages
 
  
 +
::'''Preconditions:'''
 +
::# User has Image files loaded into Mahara
 +
::# User has document files loaded into Mahara
  
 +
::'''Test Script:'''
 +
::# User browse to Main menu > Content > Files
 +
::# User edit an Image file by clicking the pencil icon to right of image file
 +
::# Confirm there is an rotate icon to right of image in the Edit file section of the page
 +
::# Click the rotate icon
 +
::# Confirm that the image preview rotates 1/4 turn to the right each time the rotate icon is clicked
 +
::#
  
 +
</div>
 +
</div>
  
 +
<!--##################################################### Drag N Drop ############################################################-->
 +
<div class="toccolours mw-collapsible mw-collapsed">
 +
:::'''Create Files scenario 3:''' User should be able to drag and drop files to a page for upload
 +
<div class="mw-collapsible-content">
 +
{| style="float:right; margin-left: 10px;"
 +
|----
 +
|[[File:Files_Drag_N_Drop_Feature_22-06-18-13-25-43.png|thumb|200px]]
 +
|----
 +
|}
  
 +
::'''Preconditions:'''
 +
::# User has Image files on their local machine
 +
::# User has document files on their local machine
  
 +
::'''Test Script:'''
 +
::# User browse to Main menu > Content > Files
 +
::# Confirm that there is a "Drop files here to upload" section on the page
 +
::# User open the file browser for their local machine
 +
::# User browse to a file to upload to Mahara 
 +
::# using the cursor, hover over the desired file
 +
::# click and hold while draging the file to the dark grey Drag N Drop section of the Page
 +
::# release the click
 +
::# Confirm that the file is uploaded and a message is displayed as follows :Upload of <file name> complete
 +
::# Repeat the above steps for different file types that Mahara will accept (ie.. image file types jpg png, document file types docx, PDF)
  
</div>
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
 
<!--##################################################### CONTENT ############################################################################-->
 
 
<div class="toccolours mw-collapsible mw-collapsed" style="background:#c7d6c6">
 
====Manual Test script scenarios for Content Files====
 
<div class="mw-collapsible-content">
 
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User should see correct page styling
+
:::'''Create Skins scenario 1 :''' PersonA should see correct page content and styling on their default Create 'Skins' home page
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
 
{| style="float:right; margin-left: 10px;"
 
{| style="float:right; margin-left: 10px;"
 
|----
 
|----
|[[File:Files_page_24-05-18-10-52-37.png|thumb|200px]]
+
|[[File:PortfolioOverviewRaw_18-05-18-14-29-30.png|thumb|200px|Raw theme]]
 +
|[[File:PortfolioOverviewPrimarySchool_18-05-18-14-29-30.png|thumb|200px|Primary school theme]]
 +
|[[File:PortfolioOverviewDefault_18-05-18-14-29-30.png|thumb|200px|Default theme]]
 +
|[[File:PortfolioOverviewModern_18-05-18-14-29-30.png|thumb|200px|Ocean theme]]
 +
|[[File:PortfolioOverviewOcean_18-05-18-14-29-30.png|thumb|200px|Modern theme]]
 
|----
 
|----
 
|}
 
|}
 
  
 
#'''Visual check'''
 
#'''Visual check'''
## Files page uses correct colour
+
## Profile page uses correct colour "Raw"
 
## header elements displayed  
 
## header elements displayed  
 +
## Static Profile Page title h1 displayed
 
## online users block displayed
 
## online users block displayed
## Quota block displayed
 
 
## footer is displayed and links functioning correctly
 
## footer is displayed and links functioning correctly
 +
# '''Change page "Layout" functionality works'''
 +
# '''Change page "Skin" functionality works'''
 +
# '''Page edit functionality works''' Create edit and delete page blocks
 +
# '''Page links working''' Tester can use Chrome extension Link Checker or dev tools to determine "200 code return"
  
 +
</div>
 +
</div>
 +
</div>
 +
</div>
  
 +
<!--##################################################### MANAGE ###########################################################-->
 +
<div class="toccolours mw-collapsible mw-collapsed" style="background:#ffffff">
  
 +
===Manual test scenarios for 'Manage'===
 +
<div class="mw-collapsible-content">
  
</div>
 
</div>
 
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
:::'''Manual Test Scenario:''' User "Quota" block updates as files are added
+
:::'''Upload Leap2A file scenario 1:''' User can upload an Leap2A file
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
  
# Confirm that when files are added the '''Quota block updates''' and the display bar is filled in accordingly.
+
{| style="float:right; margin-left: 10px;"
 
+
|----
 
+
|[[File:Import_leap2a_08-06-18-11-19-06.png|thumb|200px|Leap2a import page]]
 
+
|[[File:Import_leap2a_choose_items_08-06-18-11-08-46.png|thumb|200px|Leap2A imported data]]
 
+
|----
 +
|}
 +
'''Preconditions:'''
 +
# User has a Leap2A zip file from a previous export of all of "Admin User" data.
 +
# user has unzipped the file which should include 
 +
## files folder containing image files, document files that have been used on users's profile/portfolio
 +
## leap2a.xml file
 +
'''Test Script:'''  
 +
# user (someone other than admin) log in
 +
# Browse to Main menu > Portfolio > Import
 +
# Click the choose a file and upload the "leap2a.xml" file of the Admin User profile
 +
# Click the import button
 +
# Confirm you see the all the data that will be imported
 +
# Select the information you want to ignore, append, replace or add new
 +
# click the "Import" button
 +
# Note that you will have to upload the files into the folders
 +
# view the areas that you have added ie Portfolio pages
 +
# confirm that the new pages are displayed with the content on the pages
  
 
</div>
 
</div>
 
</div>
 
</div>
 
<div class="toccolours mw-collapsible mw-collapsed">
 
:::'''Manual Test Scenario:''' Files can be edited and rotated
 
<div class="mw-collapsible-content">
 
 
# Confirm
 
 
 
 
 
 
 
</div>
 
</div>
 
</div>
 
</div>
 
 
 
 
<!--##################################################### BUGS ############################################################################-->
 
 
<div class="toccolours mw-collapsible mw-collapsed" style="background:#daecd6">
 
 
 
==BUGS to test for Manually==
 
<div class="mw-collapsible-content">
 
<span style="background:#e3baba">'''Bug 1702198:''' All users with exception of root user has ctime set when they are first created </span> <br/>
 
'''Original Bug:''' https://bugs.launchpad.net/mahara/+bug/1702198/comments/2
 
 
'''Environment to be tested:''' Master<br/>
 
'''Browser to be tested:''' Chrome <br/>
 
 
Create new admin user and Log into Database using the following commands
 
<pre>
 
    sudo -u postgres psql                          - starts PSQL terminal
 
    \l                                              - lists databases
 
    \c <db name>                                    - connect to database
 
    Select ctime from usr where username='admin';  - returns date/time user was created
 
</pre>
 
Date should be date user was created
 
 
-----
 
<span style="background:#e3baba">'''Bug 1726655:''' Mahara logo is cut off at the bottom in IE11.</span>
 
 
'''Environment to be tested:''' Master<br/>
 
'''Browser to be tested:''' IE 11<br/>
 
 
'''Precondition:'''
 
The institution 'Institution A' exists and the user is a admin in that institution.
 
 
'''Steps to reproduce:'''
 
1. Open IE 11 and enter the URL to the Mahara instance.<br/>
 
'''Expected result:''' Mahara logo should be displayed properly without any cut off.<br/>
 
2. Log in as ‘Institution admin’.<br/>
 
'''Expected result:''' Mahara logo should be displayed properly without any cut off.<br/>
 
 
3. Navigate to Administration menu > Institutions > Settings.<br/>
 
4. Click the ‘Settings’ button for ‘Institution A’.<br/>
 
5. Upload a logo and Click the ‘Submit’ button.<br/>
 
6. Log out and Log in back as ‘Institution admin’.<br/>
 
'''Expected result:''' Mahara logo should be displayed properly without any cut off.<br/>
 
7. Compare the Mahara logo with another browser and verify if the dimensions are aligned properly.<br/>
 
'''Expected result:''' Mahara logo should have the same dimensions as the other browser.
 
 
-----
 
<span style="background:#e3baba">'''Bug 1726560:''' Add recaptcha field to contact us form when logged out</span><br/>
 
 
'''Environment to be tested:''' Master<br/>
 
'''Browser to be tested:''' Any browser<br/>
 
 
'''Precondition:'''
 
1. A user with 'Site admin' access exists.<br/>
 
2. 'reCAPTCHA site key' & 'reCAPTCHA secret key' are generated.<br/>
 
'''NOTE:''' You create the 'reCAPTCHA site key' & 'reCAPTCHA secret key' at https://www.google.com/recaptcha/admin <br/>
 
3. Normal user ‘User one’ exists.
 
 
'''Steps to reproduce:'''
 
1. Log in as 'Site admin'.<br/>
 
2. Navigate to Administration menu > Configure site > Site options > Security settings.<br/>
 
3. Switch 'reCAPTCHA on user registration/contact us forms' to 'Yes'.<br/>
 
4. Enter the 'reCAPTCHA site key' & 'reCAPTCHA secret key'.<br/>
 
5. Click the 'Update site options' button.<br/>
 
6. Log out as 'Site admin'.<br/>
 
7. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/>
 
'''Expected result:''' A captcha field is displayed on the form.
 
8. Enter an email into the 'Email' field.<br/>
 
9. Enter the name 'Tester' into the 'Name' field.<br/>
 
10. Enter the text as 'This is a test message' into the 'Message' field.<br/>
 
11. Select the checkbox 'I'm not a robot'.<br/>
 
12. Click the 'Send message' button.<br/>
 
'''Expected result:''' The Mahara homepage is displayed with a message 'Your message has been sent'.
 
13. Log in as 'User one'.<br/>
 
14. Click the hyperlink 'Contact us', which is at the bottom of the page.<br/>
 
'''Expected result:''' The captcha field is not displayed on the form and the 'Email'and 'Name' fields are auto populated.
 
15. Enter the text as 'This is a test message' into the 'Message' field.<br/>
 
16. Click the 'Send message' button.<br/>
 
'''Expected result:''' The Mahara dashboard page is displayed with a message 'Your message has been sent'.
 
 
-----
 
<span style="background:#e3baba">'''BUG 1772298 - Bug description:''' login help icon hidden on Modern theme</span>
 
 
'''Environment to be tested:''' Master<br/>
 
'''Browser to be tested:''' Chrome <br/>
 
 
'''Summary:''' Help icon is missing when the site theme is set to Modern theme and the user is on the log in page.
 
 
1. site has Modern Theme set<br/>
 
2. User is on the login screen<br/>
 
 
'''Actual result:''' the help icon is hidden - if user clicks in the general area the help text is displayed
 
 
'''Expected result:''' help icon is displayed and is clickable to reveal help text.
 
 
-----
 
<span style="background:#e3baba">'''Bug 1734557: Allow SAML plugin to have custom auth error message - like Xmlrpc</span>
 
 
'''Environment to be tested:''' Master<br/>
 
'''Browser to be tested:''' Chrome <br/>
 
 
'''Precondition:'''
 
 
1. A user with 'Site admin' access exists.<br/>
 
2. ‘Institution A' exists.<br/>
 
 
'''Steps to reproduce:'''
 
 
1. Log in as ‘Site admin’.<br/>
 
2. Navigate to Administration menu > Institutions > Settings.<br/>
 
3. Click the ‘Settings’ button for ‘Institution A’.<br/>
 
4. Select ‘SAML’ from the ‘Authentication plugin’ drop-down menu.<br/>
 
5. Add ‘SAML’ meta data and make sure the 'Authentication login message' is set up with the text ‘This is an error message’.<br/>
 
6. Click the ‘Submit’ button.<br/>
 
7. Click the 'Save' button.<br/>
 
8. Set up a new user that has SAML as authentication method in that institution and make sure you set a remote username for them.<br/>
 
9. Log out as ‘Site admin’.<br/>
 
10. Now try to log in as ‘User one’ using the regular login fields and not the SSO button.<br/>
 
 
'''Expected result:''' ‘User one’ is not able to log in and the authentication login error message box is displayed: ‘This is an error message’.
 
 
-----
 

Latest revision as of 15:10, 12 November 2020

Manual regression testing

This page outlines the manual regression testing for Mahara releases (6 monthly; YY.04 and YY.10).

Automated (unit and Behat) and manual testing is performed during the release development period for each Launchpad/Gerrit item prior to its merge into the master branch (see Manual item testing in this page's parent page). Regression testing is then performed upon the release candidate prior to its actual go-live. This page contains an overview of the manual regression testing i.e. coverage of main functionality, such as email interaction, that is not being addressed by automated testing. It also provides a record of main screen presentations.

Manual Regression Testing Preconditions

For manual regression testing it is assumed that:

  1. a fresh install of Mahara has taken place and "Password" and "email" are set for the initial Site admin login
  2. there is a fresh database with no data
  3. Mahara emails have been set to be delivered to an inbox the tester has access to (via config.php & see next point's 'Site settings')
  4. the theme will be (re-)set by the Site admin in Admin menu > Configure site > Site options > Site settings
  5. at least one account (named PersonA) other than the Site admin account is active (via manual individual account add or csv file account creation)
  6. the default browser (used to take the actual result screen shots) is currently Chrome running on a Windows10 (virtual) machine
  7. other test platforms include Win10-Edge and Win10-Firefox (OSx-Safari & Android-Chrome if time permits)
  8. the latest stable browser versions are used.

Manual Regression Testing Scenarios

Manual test scenarios for LogIn and Logged Out (Homepage) pages

Homepage Scenario 1: Mahara "Homepage" (log in page) content and styling is correct.
Raw theme
Primary school theme
Default theme
Ocean theme
Modern theme
Maroon theme
Given PersonA has their browser open
When PersonA enters the correct URL for Mahara
Then PersonA should see the "Mahara homepage" content displayed in the correct theme colours and style.
Homepage Scenario 2: PersonA can successfully reset their Mahara password.
Reset Email Instructions
Given PersonA is on the "homepage"
When PersonA follows "Lost username / password"
And PersonA fills in "Email address or username" with "PersonA"
And PersonA presses "Send request"
Then PersonA should see "You should receive an email shortly with a link that you can use to change the password for your account."
And an email is received - manually inspect inbox to ensure email was sent and is correct.
When PersonA follows "Email confirmation link"
Then PersonaA fills in "New password" with ".3Kg@4!O"
And PersonaA fills in "Re-enter password" with ".3Kg@4!O"
And PersonA presses "Send request"
Then PersonA should see their Dashboard displayed
When PersonA follows "Log out"
Then PersonA should see the Mahara "homepage" displayed correctly
When PersonA fills in "Username" with "PersonA"
And PersonA fills in "Password" with ".3Kg@4!O"
And PersonA presses "Log in"
Then PersonA should see their Dashboard displayed
Homepage Scenario 3: Logged out person should see correct page content and styling
Raw theme
Primary school theme
Ocean theme
Modern theme
Given person has their browser open
When person enters the correct URL for Mahara
Then they should see the "Mahara homepage" content displayed in the correct theme colour and style.

Manual test scenarios for [default] Dashboard page

Dashboard Scenario 1: Site admin should see correct Dashboard page content and styling
Raw theme
Primary school theme
Ocean theme
Modern theme
Given Site admin has an active Mahara site administrator account
When they successfully complete the Mahara log in process
Then they should see correct page content and styling for the default site administrator Dashboard page.
Dashboard Scenario 2: PersonA (non-admin) should see correct Dashboard page content and styling
Raw theme
Primary school theme
Ocean theme
Modern theme
Given PersonA has an active non-administrative Mahara account
When they successfully complete the Mahara log in process
Then they should see correct page content and styling for the default Dashboard page.

Manual test scenarios for [default] Profile page

Profile scenario 1: PersonA should see correct page content and styling on their default Profile page.
Primary school theme
Modern theme
Ocean theme
  1. Visual check
    1. Profile page uses correct colour "Raw"
    2. header elements displayed
    3. Static Profile Page title h1 displayed
    4. online users block displayed
    5. 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"
Profile scenario 2: Multiple Email Functionality
Multiple Email
Scenario: Only one email address: There should not be a delete button as the only email address cannot be deleted.
Given user logged in
And has one email address
And is on the Profile > Contact information page
When user clicks the delete icon to right of email address
Then user should see message "You cannot remove your primary email address." displayed
And the email address will not be deleted
Scenario: One or more email addresses: The primary email does not have delete button. When the primary address is changed, it should receive the delete button and the now primary email address gets it removed.
Multiple Email Addresses
Given user logged in
And has more than one email address
And user has validated the email mail address
When user is on the Profile > Contact information page
And user has selected the second email address
And clicks the delete icon associated with the first email in the list
And then the first email in the list will be deleted

Manual test scenarios for Create pages

Create Pages and Collections scenario 1 : PersonA should see correct page content and styling on their default Create 'Pages and Collections' home page
Raw theme
Primary school theme
Ocean theme
Modern theme
  1. Visual check
    1. Profile page uses correct colour "Raw"
    2. header elements displayed
    3. Static Profile Page title h1 displayed
    4. online users block displayed
    5. 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"
Create Files scenario 1: PersonA should see correct page content and styling on their default Create 'Files' home page
Files page 24-05-18-10-52-37.png
  1. Visual check
    1. Profile page uses correct colour "Raw"
    2. header elements displayed
    3. Static Profile Page title h1 displayed
    4. online users block displayed
    5. 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"
Create Files scenario 2: User "Quota" block updates as files are added
  1. Confirm that when files are added the Quota block updates and the display bar is filled in accordingly.
Create Files scenario 3: Image files can be edited and rotated
Preconditions:
  1. User has Image files loaded into Mahara
  2. User has document files loaded into Mahara
Test Script:
  1. User browse to Main menu > Content > Files
  2. User edit an Image file by clicking the pencil icon to right of image file
  3. Confirm there is an rotate icon to right of image in the Edit file section of the page
  4. Click the rotate icon
  5. Confirm that the image preview rotates 1/4 turn to the right each time the rotate icon is clicked
Create Files scenario 3: User should be able to drag and drop files to a page for upload
Files Drag N Drop Feature 22-06-18-13-25-43.png
Preconditions:
  1. User has Image files on their local machine
  2. User has document files on their local machine
Test Script:
  1. User browse to Main menu > Content > Files
  2. Confirm that there is a "Drop files here to upload" section on the page
  3. User open the file browser for their local machine
  4. User browse to a file to upload to Mahara
  5. using the cursor, hover over the desired file
  6. click and hold while draging the file to the dark grey Drag N Drop section of the Page
  7. release the click
  8. Confirm that the file is uploaded and a message is displayed as follows :Upload of <file name> complete
  9. Repeat the above steps for different file types that Mahara will accept (ie.. image file types jpg png, document file types docx, PDF)
Create Skins scenario 1 : PersonA should see correct page content and styling on their default Create 'Skins' home page
Raw theme
Primary school theme
Ocean theme
Modern theme
  1. Visual check
    1. Profile page uses correct colour "Raw"
    2. header elements displayed
    3. Static Profile Page title h1 displayed
    4. online users block displayed
    5. 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"

Manual test scenarios for 'Manage'

Upload Leap2A file scenario 1: User can upload an Leap2A file
Leap2a import page
Leap2A imported data

Preconditions:

  1. User has a Leap2A zip file from a previous export of all of "Admin User" data.
  2. user has unzipped the file which should include
    1. files folder containing image files, document files that have been used on users's profile/portfolio
    2. leap2a.xml file

Test Script:

  1. user (someone other than admin) log in
  2. Browse to Main menu > Portfolio > Import
  3. Click the choose a file and upload the "leap2a.xml" file of the Admin User profile
  4. Click the import button
  5. Confirm you see the all the data that will be imported
  6. Select the information you want to ignore, append, replace or add new
  7. click the "Import" button
  8. Note that you will have to upload the files into the folders
  9. view the areas that you have added ie Portfolio pages
  10. confirm that the new pages are displayed with the content on the pages