Commit c20ba723 authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Cecilia Vela Gurovic
Browse files

Bug 1777014: Profile completion for inst admin

behatnotneeded

Change-Id: I334c936f6eb5e41a5c70ee69cc97206653b7e321
(cherry picked from commit 373c3756)
parent 582e9a3e
......@@ -2687,6 +2687,12 @@ function institutional_admin_nav() {
'title' => get_string('adminnotifications', 'admin'),
'weight' => 50,
),
'manageinstitutions/progressbar' => array(
'path' => 'manageinstitutions/progressbar',
'url' => 'admin/users/progressbar.php',
'title' => get_string('progressbar', 'admin'),
'weight' => 55,
),
'manageinstitutions/institutionviews' => array(
'path' => 'manageinstitutions/institutionviews',
'url' => 'view/institutionviews.php',
......
......@@ -20,6 +20,7 @@ Scenario: Checking menu items are available as a student (Bug 1467368)
Given I log in as "UserA" with password "Kupuh1pa!"
# Checking the main menu navigation headings
When I click on "Show main menu"
And I wait "1" seconds
And I follow "Dashboard"
Then I should not see "Administration" in the "Administration menu" property
And I should not see "Site information" in the "Administration menu" property
......@@ -61,6 +62,7 @@ Scenario: Checking menu items are available as site staff (Bug 1467368)
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
And I click on "Show administration menu"
And I wait "1" seconds
And I follow "User search"
And I click on "Show administration menu"
Then I follow "Reports"
......@@ -70,6 +72,7 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
Given I log in as "admin" with password "Kupuh1pa!"
# Checking the sub navigation in Administration
And I click on "Show administration menu"
And I wait "1" seconds
Then I should see "Admin home" in the "Administration menu" property
And I should see "Configure site" in the "Administration menu" property
And I should see "Users" in the "Administration menu" property
......@@ -167,7 +170,7 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14
And I should see "Update group members by CSV" in the "Admin Groups sub-menu" property
# 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
Then I should see "Profile completion" in the "Institutions sub-menu" property
And I should see "Settings" in the "Institutions sub-menu" property
And I should see "Static pages" in the "Institutions sub-menu" property
And I should see "Legal" in the "Institutions sub-menu" property
......@@ -178,6 +181,7 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14
And I should see "Pages and collections" 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 scroll to the base of id "navadmin"
And I should see "Pending registrations" in the "Institutions sub-menu" property
# Checking Reports menu
And I should see "Reports"
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