summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/ThemingAppContext.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2022-10-05 12:14:03 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-13 12:13:39 +0200
commitdb831359d3ad10d35536bd5f0e72ba629b828471 (patch)
tree5b953a93ef251e5ed8ea012e80e9fe1327a7b662 /tests/acceptance/features/bootstrap/ThemingAppContext.php
parent4b46c5a5a02b6c1c77b99cf21b9ff933fabbcc35 (diff)
downloadnextcloud-server-db831359d3ad10d35536bd5f0e72ba629b828471.tar.gz
nextcloud-server-db831359d3ad10d35536bd5f0e72ba629b828471.zip
Allow to pick custom colour
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/acceptance/features/bootstrap/ThemingAppContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/ThemingAppContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/ThemingAppContext.php b/tests/acceptance/features/bootstrap/ThemingAppContext.php
index adf04eaca00..eea964a1449 100644
--- a/tests/acceptance/features/bootstrap/ThemingAppContext.php
+++ b/tests/acceptance/features/bootstrap/ThemingAppContext.php
@@ -146,7 +146,7 @@ class ThemingAppContext implements Context, ActorAwareInterface {
*/
public function iSeeThatTheNonPlainBackgroundColorVariableIsEventually($color) {
$colorVariableMatchesCallback = function () use ($color) {
- $colorVariable = $this->actor->getSession()->evaluateScript("return getComputedStyle(document.documentElement).getPropertyValue('--color-main-background-not-plain').trim();");
+ $colorVariable = $this->actor->getSession()->evaluateScript("return getComputedStyle(document.documentElement).getPropertyValue('--color-primary-default').trim();");
$colorVariable = $this->getRGBArray($colorVariable);
$color = $this->getRGBArray($color);