diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 35f100fded64f..f3b80b7d8873d 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -69,6 +69,7 @@ Cypress.Commands.add('signin', ({ email, password }) => { failOnStatusCode: false, }) .then((response) => { + window.localStorage.setItem('NodeView.switcher.discovered', '1'); // @TODO Remove this once the switcher is removed Cypress.env('currentUserId', response.body.data.id); }); });