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
7684070f
Commit
7684070f
authored
Mar 31, 2015
by
Jinelle Foley-Barnes
Browse files
Behat Test: Plugin administration configuration
Change-Id: I395f46cbff1c67fb6ba96202d1cb79da610ff908
parent
39ba5ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/admin/plugin_administration.feature
0 → 100644
View file @
7684070f
@javascript
@core
@core_administration
Feature
:
Changing the configuration on the plugin administation page
In order to change the settings on the plugin administration page page
As an admin
So I can benefit from the uses of the switches
Scenario
:
Turning the switches on and off on Internal Search (Bug 1431569)
Given
I log in as
"admin"
with password
"Password1"
And
I go to
"admin/extensions/pluginconfig.php?plugintype=search&pluginname=internal"
# Verifing in on the right page
And I should see "Plugin administration
:
search
:
internal"
# Checking the default
And the following fields match these values
:
|
Exact
user
searches
|
1
|
# Turning the switch on and off
And I set the following fields to these values
:
|
Exact
user
searches
|
0
|
# Turning the switch back to default setting
And I set the following fields to these values
:
|
Exact
user
searches
|
1
|
And
I
press
"Save"
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