Commit 731c9c06 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1713908: Navigation menu changes"

parents 03dd1c61 30ff120a
......@@ -28,6 +28,7 @@ define ("LOCATOR_CONSTANTS", json_encode(array(
'Institutions sub-menu' => array(".manageinstitutions ul", "css_element"),
'Options dialog' => array(".modal-header", "css_element"),
'Portfolio sub-menu' => array(".myportfolio", "css_element"),
'Web services sub-menu' => array(".webservices", "css_element"),
'H1 heading' => array("h1", "css_element"),
'Collections text-box' => array(".select2-selection__rendered", "css_element"),
'Annotation' => array("#activate_blocktype_annotation", "css_element"),
......
......@@ -59,7 +59,7 @@ Scenario: Checking menu items are available as a student (Bug 1467368)
Scenario: Checking menu items are available as site staff (Bug 1467368)
Given I log in as "UserB" with password "Kupuhipa1"
Then I should not see "Administration" in the "Main menu" property
# The one major difference a site staff has is site info link that leads to other links
# The one major difference a site staff has is site info link that leads to other links
And I click on "Show administration menu"
And I follow "User search"
And I click on "Show administration menu"
......@@ -68,7 +68,7 @@ Scenario: Checking menu items are available as site staff (Bug 1467368)
Scenario: Checking menu items are available as Admin User (Bug 1467368)
Given I log in as "admin" with password "Kupuhipa1"
# checking the sub navigation in Administration
# Checking the sub navigation in Administration
And I click on "Show administration menu"
Then I should see "Admin home" in the "Administration menu" property
And I should see "Configure site" in the "Administration menu" property
......@@ -76,11 +76,12 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
And I should see "Groups" in the "Administration menu" property
And I should see "Institutions" in the "Administration menu" property
And I should see "Extensions" in the "Administration menu" property
# Checking the sub navigation in Admin home
And I should see "Web services" in the "Administration menu" property
# Checking the sub navigation in Admin home
When I press "Show menu for Admin home"
Then I should see "Overview" in the "Admin home sub-menu" property
And I should see "Register" in the "Admin home sub-menu" property
# Checking the sub navigation in Configure site
# Checking the sub navigation in Configure site
When I press "Show menu for Configure site"
Then I should see "Site options" in the "Configure site sub-menu" property
And I should see "Static pages" in the "Configure site sub-menu" property
......@@ -88,10 +89,11 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
And I should see "Networking" in the "Configure site sub-menu" property
And I should see "Licenses" in the "Configure site sub-menu" property
And I should see "Pages and collections" in the "Configure site sub-menu" property
And I should see "Journals" in the "Configure site sub-menu" property
And I should see "Share" in the "Configure site sub-menu" property
And I should see "Files" in the "Configure site sub-menu" property
And I should see "Cookie Consent" in the "Configure site sub-menu" property
# Checking the sub navigation in Users
# Checking the sub navigation in Users
When I press "Show menu for Users"
Then I should see "User search" in the "Users sub-menu" property
And I should see "Suspended and expired users" in the "Users sub-menu" property
......@@ -100,14 +102,14 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
And I should see "Export queue" in the "Users sub-menu" property
And I should see "Add user" in the "Users sub-menu" property
And I should see "Add users by CSV" in the "Users sub-menu" property
# Checking the sub navigation in Groups
# Checking the sub navigation in Groups
When I press "Show menu for Groups" in the "Administration menu" property
Then I should see "Administer groups" in the "Admin Groups sub-menu" property
And I should see "Group categories" in the "Admin Groups sub-menu" property
And I should see "Archived submissions" in the "Admin Groups sub-menu" property
And I should see "Add groups by CSV" in the "Admin Groups sub-menu" property
And I should see "Update group members by CSV" in the "Admin Groups sub-menu" property
# Checking the sub administration in Institutions
# Checking the sub administration in Institutions
When I press "Show menu for Institutions"
Then I should see "Settings" in the "Institutions sub-menu" property
And I should see "Static pages" in the "Institutions sub-menu" property
......@@ -117,26 +119,35 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
And I should see "Admin notifications" in the "Institutions sub-menu" property
And I should see "Profile completion" in the "Institutions sub-menu" property
And I should see "Pages and collections" in the "Institutions sub-menu" property
And I should see "Journals" in the "Institutions sub-menu" property
And I should see "Share" in the "Institutions sub-menu" property
And I should see "Files" in the "Institutions sub-menu" property
And I should see "Pending registrations" in the "Institutions sub-menu" property
# Checking Reports menu
# Checking Reports menu
And I should see "Reports"
# Checking the sub navigation in Extensions
# Checking the sub navigation in Extensions
When I press "Show menu for Extensions"
Then I should see "Plugin administration" in the "Extensions sub-menu" property
And I should see "HTML filters" in the "Extensions sub-menu" property
And I should see "Allowed iframe sources" in the "Extensions sub-menu" property
And I should see "Clean URLs" in the "Extensions sub-menu" property
And I should see "SmartEvidence" in the "Extensions sub-menu" property
# Checking the sub navigation in Web services
When I press "Web services"
Then I should see "Configuration" in the "Web services sub-menu" property
And I should see "Application connections" in the "Web services sub-menu" property
And I should see "Connection manager" in the "Web services sub-menu" property
And I should see "External apps" in the "Web services sub-menu" property
And I should see "Logs" in the "Web services sub-menu" property
And I should see "Test client" in the "Web services sub-menu" property
Scenario: Checking menu items are available as Institution Administrator (Bug 1467368)
Given I log in as "AdminA" with password "Kupuhipa1"
# checking the sub navigation in Administration
# checking the sub navigation in Administration
And I click on "Show administration menu"
And I should not see "Configure site" in the "Administration menu" property
And I should not see "Extensions" in the "Administration menu" property
# Checking the sub navigation in Users
# Checking the sub navigation in Users
And I press "Show menu for Users"
Then I should not see "Site staff" in the "Users sub-menu" property
And I should not see "Site administrators" in the "Users sub-menu" property
......@@ -145,14 +156,14 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14
And I should see "Export queue" in the "Users sub-menu" property
And I should see "Add user" in the "Users sub-menu" property
And I should see "Add users by CSV" in the "Users sub-menu" property
# Checking the sub navigation in Groups
# Checking the sub navigation in Groups
And I press "Show menu for Groups" in the "Administration menu" property
Then I should not see "Administer groups" in the "Admin Groups sub-menu" property
And I should not see "Group categories" in the "Admin Groups sub-menu" property
And I should see "Archived submissions" in the "Admin Groups sub-menu" property
And I should see "Add groups by CSV" in the "Admin Groups sub-menu" property
And I should see "Update group members by CSV" in the "Admin Groups sub-menu" property
# Checking the sub navigation in Institutions
# Checking the sub navigation in Institutions
And I press "Show menu for Institutions"
Then I should not see "Profile completion" in the "Institutions sub-menu" property
And I should see "Settings" in the "Institutions sub-menu" property
......@@ -165,5 +176,5 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14
And I should see "Share" in the "Institutions sub-menu" property
And I should see "Files" in the "Institutions sub-menu" property
And I should see "Pending registrations" in the "Institutions sub-menu" property
# Checking Reports menu
# Checking Reports menu
And I should see "Reports"
......@@ -17,12 +17,6 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983)
And I follow "Social media"
And I follow "General"
And I follow "About me"
# Checking Profile picture submenu
And I choose "Profile pictures" in "Content" from main menu
# Checking Files Submenu
And I choose "Files" in "Content" from main menu
# Checking Journal submenu
And I choose "Journals" in "Content" from main menu
# Checking Resume submenu and tabs
And I choose "Résumé" in "Content" from main menu
And I follow "Education and employment"
......@@ -30,22 +24,6 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983)
And I follow "Goals and skills"
And I follow "Interests"
And I follow "Introduction"
# Checking Plans submenu
And I choose "Plans" in "Content" from main menu
# Checking Notes submenu
And I choose "Notes" in "Content" from main menu
# Checking Portfolio Menu and submenu
And I choose "Pages and collections" in "Portfolio" from main menu
And I choose "Shared by me" in "Portfolio" from main menu
And I choose "Shared with me" in "Portfolio" from main menu
And I choose "Export" in "Portfolio" from main menu
And I choose "Import" in "Portfolio" from main menu
# Checking Groups Menus and submenu
And I choose "Find groups" in "Groups" from main menu
And I choose "My friends" in "Groups" from main menu
And I choose "Find people" in "Groups" from main menu
And I choose "Institution membership" in "Groups" from main menu
And I choose "Topics" in "Groups" from main menu
# Checking messages
And I choose "mail" from user menu by id
And I follow "Inbox" in the "Arrow-bar nav" property
......@@ -54,61 +32,4 @@ Scenario: Clicking randomly around Mahara (Bug: 1426983)
# Checking Homepage
And I click on "Show main menu"
And I follow "Dashboard"
# Checking Administration
# Checking admin home menu and submenu
And I choose "Admin home" from administration menu
And I choose "Register" in "Admin home" from administration menu
And I choose "Overview" in "Admin home" from administration menu
# Checking Configure site menu and submenu
And I choose "Site options" in "Configure site" from administration menu
And I choose "Static pages" in "Configure site" from administration menu
And I choose "Menus" in "Configure site" from administration menu
And I choose "Networking" in "Configure site" from administration menu
And I choose "Licenses" in "Configure site" from administration menu
And I choose "Pages and collections" in "Configure site" from administration menu
And I choose "Share" in "Configure site" from administration menu
And I choose "Files" in "Configure site" from administration menu
And I choose "Cookie Consent" in "Configure site" from administration menu
# Checking Users Menu and submenu
And I choose "User search" in "Users" from administration menu
And I choose "Suspended and expired users" in "Users" from administration menu
And I choose "Site staff" in "Users" from administration menu
And I choose "Site administrators" in "Users" from administration menu
And I choose "Export queue" in "Users" from administration menu
And I choose "Add user" in "Users" from administration menu
And I choose "Add users by CSV" in "Users" from administration menu
# Checking Groups
And I choose "Group categories" in "Groups" from administration menu
And I choose "Archived submissions" in "Groups" from administration menu
And I choose "Add groups by CSV" in "Groups" from administration menu
And I choose "Update group members by CSV" in "Groups" from administration menu
And I choose "Administer groups" in "Groups" from administration menu
# Checking Institutions Menu and submenus
And I choose "Static pages" in "Institutions" from administration menu
And I choose "Members" in "Institutions" from administration menu
And I choose "Staff" in "Institutions" from administration menu
And I choose "Administrators" in "Institutions" from administration menu
And I choose "Admin notifications" in "Institutions" from administration menu
And I choose "Profile completion" in "Institutions" from administration menu
And I choose "Pages and collections" in "Institutions" from administration menu
And I choose "Share" in "Institutions" from administration menu
And I choose "Files" in "Institutions" from administration menu
And I choose "Pending registrations" in "Institutions" from administration menu
# Checking Reports menu
And I choose "Reports" from administration menu
# Checking Extensions Menu and submenu
And I choose "Plugin administration" in "Extensions" from administration menu
And I choose "HTML filters" in "Extensions" from administration menu
And I choose "Allowed iframe sources" in "Extensions" from administration menu
And I choose "Clean URLs" in "Extensions" from administration menu
# Checking Web services Menu and submenu
And I choose "Configuration" in "Web services" from administration menu
And I choose "External apps" in "Web services" from administration menu
And I choose "Logs" in "Web services" from administration menu
And I choose "Test client" in "Web services" from administration menu
And I choose "Application connections" in "Web services" from administration menu
And I choose "Connection manager" in "Web services" from administration menu
# The test should be completed once if Return to site works successfully
And I click on "Show main menu"
And I follow "Dashboard"
And I should see "Admin User"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment