mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
test: Run cypress e2e tests in light mode by default (no-changelog) (#9123)
This commit is contained in:
parent
1b199c08ce
commit
5433004d77
|
@ -14,6 +14,10 @@ beforeEach(() => {
|
||||||
cy.signin({ email: INSTANCE_OWNER.email, password: INSTANCE_OWNER.password });
|
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', '/rest/settings').as('loadSettings');
|
||||||
cy.intercept('GET', '/types/nodes.json').as('loadNodeTypes');
|
cy.intercept('GET', '/types/nodes.json').as('loadNodeTypes');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue