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
9538c6a0
Commit
9538c6a0
authored
Apr 01, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Apr 01, 2015
Browse files
Merge "Behat Test: Configuration of menus page (Bug 1431569)"
parents
b9716b9a
8f0be4cc
Changes
1
Show whitespace changes
Inline
Side-by-side
test/behat/features/admin/configure_menus.feature
0 → 100644
View file @
9538c6a0
@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