Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
642ec673
Commit
642ec673
authored
Mar 06, 2019
by
Cecilia Vela Gurovic
Committed by
Gerrit Code Review
Mar 06, 2019
Browse files
Merge "Bug 1777014: Profile completion for inst admin"
parents
7c636b94
373c3756
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/web.php
View file @
642ec673
...
...
@@ -2698,6 +2698,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'
,
...
...
test/behat/features/site_content/menu_navigation.feature
View file @
642ec673
...
...
@@ -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
...
...
@@ -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
# 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"
...
...
@@ -65,6 +67,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
...
...
@@ -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
# 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
...
...
@@ -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
"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 scroll to the base of id
"navadmin"
And
I should see
"Reports"
#Checking the user menu navigation headings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment