Skip to content

Commit

Permalink
chore: add bypass csp to playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Jan 3, 2025
1 parent c35f55c commit 5e076d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default defineConfig({
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: baseURL,

/* Bypass CSP needed when running e2e on the docker-compose file due to Caddyfile header security */
bypassCSP: true,

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
Expand Down

0 comments on commit 5e076d9

Please sign in to comment.