Skip to content

Commit

Permalink
test: Run cypress e2e tests in light mode by default (no-changelog) (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
elsmr authored Apr 11, 2024
1 parent 1b199c0 commit 5433004
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ beforeEach(() => {
cy.signin({ email: INSTANCE_OWNER.email, password: INSTANCE_OWNER.password });
}

cy.window().then((win): void => {
win.localStorage.setItem('N8N_THEME', 'light');
});

cy.intercept('GET', '/rest/settings').as('loadSettings');
cy.intercept('GET', '/types/nodes.json').as('loadNodeTypes');

Expand Down

0 comments on commit 5433004

Please sign in to comment.