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

Merge "Behat Test: Configuration of cookie consent page (Bug 1431569)"

parents 4bb6ca7f 3493d67d
@javascript @core @core_administration
Feature: Enabling cookie consent
In order to enable cookie consent
As an admin
I need to be able to use the switches and change the configuration
Scenario: Turning the switches on and off on Cookie consent page (Bug 1431569)
Given I log in as "admin" with password "Password1"
And I go to "admin/site/cookieconsent.php"
And I follow "Styling options"
And I follow "Feature options"
And the following fields match these values:
| Enable Cookie Consent | 0 |
| Hide privacy settings tab | 0 |
| Page refresh | 0 |
| Ignore "do not track" | 0 |
| Use SSL | 0 |
# Turning the switches on and off
And I set the following fields to these values:
| Enable Cookie Consent | 1 |
| Hide privacy settings tab | 1 |
| Page refresh | 1 |
| Ignore "do not track" | 1 |
| Use SSL | 1 |
And I press "Save changes"
And I should see "Cookie Consent enabled and settings saved"
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