Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: provide blob name for web and html reporter tests (#34940)
Pavel Feldman7a61aa25e633
diff --git a/packages/html-reporter/playwright.config.ts b/packages/html-reporter/playwright.config.tsindex 1e6cb8b8a3..1f849f807e 100644--- a/packages/html-reporter/playwright.config.ts+++ b/packages/html-reporter/playwright.config.ts@@ -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: {diff --git a/packages/web/playwright.config.ts b/packages/web/playwright.config.tsindex 8169cfa661..6cf9899b36 100644--- a/packages/web/playwright.config.ts+++ b/packages/web/playwright.config.ts@@ -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']];