Skip to content

Commit c7f540d

Browse files
authored
Playwright unique blob report names (#1012)
1 parent fac34f5 commit c7f540d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default defineConfig({
2828
/* Opt out of parallel tests on CI. */
2929
workers: process.env.CI ? 1 : undefined,
3030
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
31-
reporter: process.env.CI ? 'blob' : 'html',
31+
reporter: process.env.CI ? [['blob', { outputFile: `./blob-report/report-${Date.now()}.zip` }]] : 'html',
3232
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
3333
use: {
3434
/* Base URL to use in actions like `await page.goto('/')`. */

0 commit comments

Comments
 (0)