Merge pull request #2449 from automatisch/retain-test-report-on-failure
test: retain test report on failure
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = defineConfig({
|
|||||||
baseURL: process.env.BASE_URL || 'http://localhost:3001',
|
baseURL: process.env.BASE_URL || 'http://localhost:3001',
|
||||||
|
|
||||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
/* 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',
|
testIdAttribute: 'data-test',
|
||||||
viewport: { width: 1280, height: 720 },
|
viewport: { width: 1280, height: 720 },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user