chore: provide blob name for web and html reporter tests (#34940)
This commit is contained in:
parent
67d6f7f603
commit
7a61aa25e6
|
|
@ -23,7 +23,11 @@ export default defineConfig({
|
|||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
snapshotPathTemplate: '{testDir}/__screenshots__/{projectName}/{testFilePath}/{arg}{ext}',
|
||||
reporter: process.env.CI ? 'blob' : 'html',
|
||||
reporter: process.env.CI ? [
|
||||
['blob', { fileName: `${process.env.PWTEST_BOT_NAME}.zip` }],
|
||||
] : [
|
||||
['html']
|
||||
],
|
||||
use: {
|
||||
ctPort: 3101,
|
||||
ctViteConfig: {
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@ import type { ReporterDescription } from '@playwright/test';
|
|||
|
||||
const reporters = () => {
|
||||
const result: ReporterDescription[] = process.env.CI ? [
|
||||
['html'],
|
||||
['blob'],
|
||||
['blob', { fileName: `${process.env.PWTEST_BOT_NAME}.zip` }],
|
||||
] : [
|
||||
['html']
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue