feat(testing): Enabled tracing for local setup

This commit is contained in:
Muhammed Mustafa
2022-10-13 14:31:47 +05:30
parent 602299ec54
commit 190b3c26f6

View File

@@ -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',
},