Browse Source

feat(testing): Enabled tracing for local setup

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
190b3c26f6
  1. 2
      scripts/playwright/playwright.config.ts

2
scripts/playwright/playwright.config.ts

@ -39,7 +39,7 @@ const config: PlaywrightTestConfig = {
baseURL: 'http://localhost:3000',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
trace: process.env.CI ? 'on-first-retry': 'on',
screenshot: 'only-on-failure',
},

Loading…
Cancel
Save