aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-05-03 12:58:07 +0200
committerPhilipp Hempel <Philipp.Hempel1@web.de>2023-06-20 11:10:31 +0200
commitcdea2d0d01e675006da4c4f9ef87032ef46b7a68 (patch)
treed8f986250d129d294aca5dc2fa3e69888e064081 /cypress
parent0d961dc9a2bb3b6005af5eec51692b760a9e0029 (diff)
downloadnextcloud-server-cdea2d0d01e675006da4c4f9ef87032ef46b7a68.tar.gz
nextcloud-server-cdea2d0d01e675006da4c4f9ef87032ef46b7a68.zip
fix(core): Do not invert app menu text color
* Also fixes other cypress test * Build assets Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/theming/admin-settings.cy.ts2
-rw-r--r--cypress/e2e/theming/user-background.cy.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/cypress/e2e/theming/admin-settings.cy.ts b/cypress/e2e/theming/admin-settings.cy.ts
index 4736ace9e4d..63242d64f1b 100644
--- a/cypress/e2e/theming/admin-settings.cy.ts
+++ b/cypress/e2e/theming/admin-settings.cy.ts
@@ -167,7 +167,7 @@ describe.only('Remove the default background with a bright color', function() {
it('See the header being inverted', function() {
cy.waitUntil(() => cy.window().then((win) => {
- const firstEntry = win.document.querySelector('.app-menu-main li')
+ const firstEntry = win.document.querySelector('.app-menu-main li img')
if (!firstEntry) {
return false
}
diff --git a/cypress/e2e/theming/user-background.cy.ts b/cypress/e2e/theming/user-background.cy.ts
index 86b66627ee6..92617b33b59 100644
--- a/cypress/e2e/theming/user-background.cy.ts
+++ b/cypress/e2e/theming/user-background.cy.ts
@@ -162,7 +162,7 @@ describe('User select a bright custom color and remove background', function() {
it('See the header being inverted', function() {
cy.waitUntil(() => cy.window().then((win) => {
- const firstEntry = win.document.querySelector('.app-menu-main li')
+ const firstEntry = win.document.querySelector('.app-menu-main li img')
if (!firstEntry) {
return false
}