Skip to content

Commit

Permalink
test: set node view switcher as discovered in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav committed Oct 18, 2024
1 parent 6fb848d commit ef63927
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
Expand Down

0 comments on commit ef63927

Please sign in to comment.