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
3493d67d
Commit
3493d67d
authored
Mar 31, 2015
by
Jinelle Foley-Barnes
Browse files
Behat Test: Configuration of cookie consent page (Bug 1431569)
Change-Id: Ia519094603d5d7cb3173fbb46c4c5dd03382a0f1
parent
01dec585
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/admin/cookie_consent_configuration.feature
0 → 100644
View file @
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"
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