mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 20:29:08 +00:00
test: Run cypress e2e tests in light mode by default (no-changelog) (#9123)
This commit is contained in:
@@ -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');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user