Skip to content

Commit

Permalink
fix: set before instead of beforeEach to e2e config
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault committed Sep 18, 2024
1 parent f44d020 commit 9f91022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Cypress.on('uncaught:exception', err => {
return undefined
})

// Run before each spec
beforeEach(() => {
// Run before spec
before(() => {
// We use a Cypress session to inject inject a Local Storage key
// so that we can detect when the browser app is running in Cypress.
// https://docs.cypress.io/faq/questions/using-cypress-faq#How-do-I-preserve-cookies--localStorage-in-between-my-tests
Expand Down

0 comments on commit 9f91022

Please sign in to comment.