chore(core): upload flaky test traces (#9974)

This commit is contained in:
pengx17
2025-02-07 15:15:45 +08:00
committed by Peng Xiao
parent fc4fe481ef
commit 9fd547d484
10 changed files with 38 additions and 34 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ const config: PlaywrightTestConfig = {
// Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer
// You can open traces locally(`npx playwright show-trace trace.zip`)
// or in your browser on [Playwright Trace Viewer](https://trace.playwright.dev/).
trace: 'on-first-retry',
trace: 'retain-on-failure',
// Record video only when retrying a test for the first time.
video: 'on-first-retry',
video: 'retain-on-failure',
},
forbidOnly: !!process.env.CI,
workers: 4,