summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/app-theming.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/app-theming.feature')
-rw-r--r--tests/acceptance/features/app-theming.feature23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/acceptance/features/app-theming.feature b/tests/acceptance/features/app-theming.feature
new file mode 100644
index 00000000000..9f5ac3f6a42
--- /dev/null
+++ b/tests/acceptance/features/app-theming.feature
@@ -0,0 +1,23 @@
+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
+ And I see that the header color is "0082C9"
+ When I set the "Color" parameter in the Theming app to "C9C9C9"
+ Then I see that the parameters in the Theming app are eventually saved
+ And I see that the header color is "C9C9C9"
+
+ 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
+ And I set the "Color" parameter in the Theming app to "C9C9C9"
+ And I see that the parameters in the Theming app are eventually saved
+ And I see that the header color is "C9C9C9"
+ 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
+ And I see that the header color is "0082C9"