Commit b9716b9a authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Behat Test: Settings on Add user page (Bug 1431569)"

parents 8fb9c3f2 790b3b97
@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."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment