Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(types): add blob reporter to the known reporter types (#27371)

Yury Semikhatskybb8a10216472
diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts
index 43f4818b7f..5c477d3768 100644
--- a/packages/playwright/types/test.d.ts
+++ b/packages/playwright/types/test.d.ts
@@ -19,9 +19,10 @@ import type { APIRequestContext, Browser, BrowserContext, BrowserContextOptions,
export * from 'playwright-core';
export type ReporterDescription =
+ ['blob'] | ['blob', { outputDir?: string }] |
['dot'] |
['line'] |
- ['list'] |
+ ['list'] | ['list', { printSteps?: boolean }] |
['github'] |
['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |
['json'] | ['json', { outputFile?: string }] |
diff --git a/utils/generate_types/overrides-test.d.ts b/utils/generate_types/overrides-test.d.ts
index e38fba16a2..3e4a5bdee7 100644
--- a/utils/generate_types/overrides-test.d.ts
+++ b/utils/generate_types/overrides-test.d.ts
@@ -18,9 +18,10 @@ import type { APIRequestContext, Browser, BrowserContext, BrowserContextOptions,
export * from 'playwright-core';
export type ReporterDescription =
+ ['blob'] | ['blob', { outputDir?: string }] |
['dot'] |
['line'] |
- ['list'] |
+ ['list'] | ['list', { printSteps?: boolean }] |
['github'] |
['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |
['json'] | ['json', { outputFile?: string }] |