diff --git a/src/test/playwright/playwright.config.ts b/src/test/playwright/playwright.config.ts index a963e42fadcb..66af65d6546f 100644 --- a/src/test/playwright/playwright.config.ts +++ b/src/test/playwright/playwright.config.ts @@ -28,6 +28,10 @@ export default defineConfig({ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', ignoreHTTPSErrors: true, + video: { + mode: 'retain-on-failure', + size: { width: 1280, height: 720 }, + }, }, /* Configure projects for fast and slow tests */