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
8f0be4cc
Commit
8f0be4cc
authored
Mar 31, 2015
by
Jinelle Foley-Barnes
Browse files
Behat Test: Configuration of menus page (Bug 1431569)
Change-Id: I8d8cd1aae919904c3dce6d8e383ff7d75f0c056f
parent
39ba5ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/admin/configure_menus.feature
0 → 100644
View file @
8f0be4cc
@javascript
@core
@core_administration
Feature
:
Configuration of menus page in site configuration
In order to be able to change the menu configuration
As an admin
So I can benefit from the use of the configuration changes
Scenario
:
Turning switches on and off on Menus page in Configure site (Bug 1431569)
Given
I log in as
"admin"
with password
"Password1"
And
I follow
"Administration"
And
I choose
"Menus"
in
"Configure site"
# Checking the default settings are correct
And the following fields match these values
:
|
Terms
and
conditions
|
0
|
|
Privacy
statement
|
1
|
|
About
|
1
|
|
Contact
us
|
1
|
# Flicking the switches to the opposite
And I set the following fields to these values
:
|
Terms
and
conditions
|
1
|
|
Privacy
statement
|
0
|
|
About
|
0
|
|
Contact
us
|
0
|
# Checking the switches held the setting
And the following fields match these values
:
|
Terms
and
conditions
|
1
|
|
Privacy
statement
|
0
|
|
About
|
0
|
|
Contact
us
|
0
|
And
I press
"Save changes"
Write
Preview
Supports
Markdown
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