Commit 790b3b97 authored by Jinelle Foley-Barnes's avatar Jinelle Foley-Barnes
Browse files

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

Change-Id: Ia57ed366fd8a86b9f488935ba1612f855198cd56
parent e92df62c
@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."
Markdown is supported
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