2017-08-04 11:20:22 +00:00
|
|
|
Feature: app-theming
|
|
|
|
|
|
|
|
Scenario: changing the color updates the header color
|
|
|
|
Given I am logged in as the admin
|
|
|
|
And I visit the settings page
|
|
|
|
And I open the "Theming" section
|
|
|
|
And I see that the color selector in the Theming app has loaded
|
2018-06-15 08:51:39 +00:00
|
|
|
# The "eventually" part is not really needed here, as the colour is not
|
|
|
|
# being animated at this point, but there is no need to create a specific
|
|
|
|
# step just for this.
|
|
|
|
And I see that the header color is eventually "#0082C9"
|
2017-12-03 12:56:54 +00:00
|
|
|
When I set the "Color" parameter in the Theming app to "#C9C9C9"
|
2017-08-04 11:20:22 +00:00
|
|
|
Then I see that the parameters in the Theming app are eventually saved
|
2018-06-15 08:51:39 +00:00
|
|
|
And I see that the header color is eventually "#C9C9C9"
|
2017-08-04 11:20:22 +00:00
|
|
|
|
|
|
|
Scenario: resetting the color updates the header color
|
|
|
|
Given I am logged in as the admin
|
|
|
|
And I visit the settings page
|
|
|
|
And I open the "Theming" section
|
|
|
|
And I see that the color selector in the Theming app has loaded
|
2017-12-03 12:56:54 +00:00
|
|
|
And I set the "Color" parameter in the Theming app to "#C9C9C9"
|
2017-08-04 11:20:22 +00:00
|
|
|
And I see that the parameters in the Theming app are eventually saved
|
2018-06-15 08:51:39 +00:00
|
|
|
And I see that the header color is eventually "#C9C9C9"
|
2017-08-04 11:20:22 +00:00
|
|
|
When I reset the "Color" parameter in the Theming app to its default value
|
|
|
|
Then I see that the parameters in the Theming app are eventually saved
|
2018-06-15 08:51:39 +00:00
|
|
|
And I see that the header color is eventually "#0082C9"
|