test: retain test report on failure

This commit is contained in:
Jakub P
2025-04-24 11:32:13 +02:00
parent ec7e0fdf3d
commit a2b4300fdb

View File

@@ -30,7 +30,7 @@ module.exports = defineConfig({
baseURL: process.env.BASE_URL || 'http://localhost:3001',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
trace: 'retain-on-failure',
testIdAttribute: 'data-test',
viewport: { width: 1280, height: 720 },
},