summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 09:51:34 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 11:26:27 +0100
commita869259e411486486fb1206dfa74f5363834d92f (patch)
tree7ea353549158dc5898d917452f8b9c6970438c87 /tests/acceptance/features
parent064fa10ecfe4725398895a21ab8bafd171e2eadd (diff)
downloadnextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.tar.gz
nextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.zip
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r--tests/acceptance/features/app-theming.feature34
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/acceptance/features/app-theming.feature b/tests/acceptance/features/app-theming.feature
deleted file mode 100644
index d12d1521f8b..00000000000
--- a/tests/acceptance/features/app-theming.feature
+++ /dev/null
@@ -1,34 +0,0 @@
-@apache
-Feature: app-theming
-
-# FIXME test with cypress
-# The existing DOM testing framework used here is not fully suitable for testing UIs implemented with modern frontend frameworks like Vue
-
- Scenario: changing the color updates the primary color
- Given I am logged in as the admin
- And I visit the admin settings page
- And I open the "Theming" section
- # And I see that the color selector in the Theming app has loaded
- # 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 primary color is eventually "#00639a"
- # And I see that the non-plain background color variable is eventually "#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 primary color is eventually "#00639a"
- # And I see that the non-plain background color variable is eventually "#C9C9C9"
-
- Scenario: resetting the color updates the primary color
- Given I am logged in as the admin
- And I visit the admin 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 primary color is eventually "#00639a"
- # And I see that the non-plain background color variable is eventually "#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 primary color is eventually "#00639a"
- # And I see that the non-plain background color variable is eventually "#0082c9"