Skip to content

Commit

Permalink
Hide IntroMdal during e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas committed Dec 26, 2024
1 parent 086b759 commit 7a753a4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,22 @@ export default defineConfig({
baseURL: APP_URL,
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
storageState: {
cookies: [],
origins: [
{
origin: APP_URL,
localStorage: [
// Prevent intro modal from always showing during tests
// TODO: Write a separate test to check if the intro modal is shown
{
name: "hideIntroModal",
value: "true",
},
],
},
],
},
},
/* Configure projects for major browsers */
projects: [
Expand Down

0 comments on commit 7a753a4

Please sign in to comment.