Commit 373c3756 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
parent f74aa0b8
...@@ -2698,6 +2698,12 @@ function institutional_admin_nav() { ...@@ -2698,6 +2698,12 @@ function institutional_admin_nav() {
'title' => get_string('adminnotifications', 'admin'), 'title' => get_string('adminnotifications', 'admin'),
'weight' => 50, 'weight' => 50,
), ),
'manageinstitutions/progressbar' => array(
'path' => 'manageinstitutions/progressbar',
'url' => 'admin/users/progressbar.php',
'title' => get_string('progressbar', 'admin'),
'weight' => 55,
),
'manageinstitutions/institutionviews' => array( 'manageinstitutions/institutionviews' => array(
'path' => 'manageinstitutions/institutionviews', 'path' => 'manageinstitutions/institutionviews',
'url' => 'view/institutionviews.php', 'url' => 'view/institutionviews.php',
......
...@@ -20,6 +20,7 @@ Scenario: Checking menu items are available as a student (Bug 1467368) ...@@ -20,6 +20,7 @@ Scenario: Checking menu items are available as a student (Bug 1467368)
Given I log in as "UserA" with password "Kupuh1pa!" Given I log in as "UserA" with password "Kupuh1pa!"
# Checking the main menu navigation headings # Checking the main menu navigation headings
When I click on "Show main menu" When I click on "Show main menu"
And I wait "1" seconds
And I follow "Dashboard" And I follow "Dashboard"
Then I should not see "Administration" in the "Administration menu" property Then I should not see "Administration" in the "Administration menu" property
And I should not see "Site information" in the "Administration menu" property And I should not see "Site information" in the "Administration menu" property
...@@ -57,6 +58,7 @@ Scenario: Checking menu items are available as site staff (Bug 1467368) ...@@ -57,6 +58,7 @@ Scenario: Checking menu items are available as site staff (Bug 1467368)
Then I should not see "Administration" in the "Main menu" property 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 click on "Show administration menu"
And I wait "1" seconds
And I follow "User search" And I follow "User search"
And I click on "Show administration menu" And I click on "Show administration menu"
Then I follow "Reports" Then I follow "Reports"
...@@ -65,6 +67,7 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368) ...@@ -65,6 +67,7 @@ Scenario: Checking menu items are available as Admin User (Bug 1467368)
Given I log in as "admin" with password "Kupuh1pa!" Given I log in as "admin" with password "Kupuh1pa!"
# Checking the sub navigation in Administration # Checking the sub navigation in Administration
And I click on "Show administration menu" And I click on "Show administration menu"
And I wait "1" seconds
Then I should see "Admin home" in the "Administration menu" property 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 "Configure site" in the "Administration menu" property
And I should see "Users" in the "Administration menu" property And I should see "Users" in the "Administration menu" property
...@@ -164,7 +167,7 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14 ...@@ -164,7 +167,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 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" 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 "Settings" in the "Institutions sub-menu" property
And I should see "Static pages" 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 And I should see "Legal" in the "Institutions sub-menu" property
...@@ -175,9 +178,9 @@ Scenario: Checking menu items are available as Institution Administrator (Bug 14 ...@@ -175,9 +178,9 @@ 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 "Pages and collections" in the "Institutions sub-menu" property
And I should see "Share" 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 "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 And I should see "Pending registrations" in the "Institutions sub-menu" property
# Checking Reports menu # Checking Reports menu
And I scroll to the base of id "navadmin"
And I should see "Reports" And I should see "Reports"
#Checking the user menu navigation headings #Checking the user menu navigation headings
......
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