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
b9716b9a
Commit
b9716b9a
authored
Apr 01, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Apr 01, 2015
Browse files
Merge "Behat Test: Settings on Add user page (Bug 1431569)"
parents
8fb9c3f2
790b3b97
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/admin/add_users_configuration.feature
0 → 100644
View file @
b9716b9a
@javascript
@core
@core_administration
Feature
:
Configuration changes on add users page
In order to change configuration settings on the add users page
As an admin
So I can benefit from the use of different configuration changes
Scenario
:
Turning switches on and off on the Add user page (Bug 1431569)
Given
I log in as
"admin"
with password
"Password1"
And
I follow
"Administration"
And
I choose
"Add user"
in
"Users"
# Checking the default settings are correct
And the following fields match these values
:
|
Site
staff
|
0
|
|
Site
administrator
|
0
|
|
Institution
administrator
|
0
|
# Flicking the switches to the opposite
And I set the following fields to these values
:
|
Site
staff
|
1
|
|
Site
administrator
|
1
|
|
Institution
administrator
|
1
|
And
I press
"Create user"
# Checking that the page will require you to fill more fields in before you hit save
And
I should see
"There was an error with submitting this form. Please check the marked fields and try again."
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