Skip to content

Commit

Permalink
fixes other cypress test
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
  • Loading branch information
susnux authored and Hephi2 committed Jun 14, 2023
1 parent e4927cd commit ce9c17a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/components/AppMenu.vue
Expand Up @@ -146,7 +146,6 @@ $header-icon-size: 20px;
height: 50px;
position: relative;
display: flex;
filter: var(--background-image-invert-if-bright);
&.app-menu-entry__active {
opacity: 1;
Expand Down Expand Up @@ -187,6 +186,7 @@ $header-icon-size: 20px;
height: $header-icon-size;
padding: calc((100% - $header-icon-size) / 2);
box-sizing: content-box;
filter: var(--background-image-invert-if-bright);
}
.app-menu-entry--label {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/theming/admin-settings.cy.ts
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/theming/user-background.cy.ts
Expand Up @@ -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
}
Expand Down

0 comments on commit ce9c17a

Please sign in to comment.