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
types(test-runner): Add github to built in reporters (#9283)
Sidharth Vinodec5e7495df26
diff --git a/types/test.d.ts b/types/test.d.tsindex fd11bb62e5..0e3faeb9fe 100644--- a/types/test.d.ts+++ b/types/test.d.ts@@ -24,6 +24,7 @@ export type ReporterDescription =['dot'] |['line'] |['list'] |+ ['github'] |['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |['json'] | ['json', { outputFile?: string }] |['null'] |@@ -461,7 +462,7 @@ interface TestConfig {* ```**/- reporter?: LiteralUnion<'list'|'dot'|'line'|'json'|'junit'|'null', string> | ReporterDescription[];+ reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null', string> | ReporterDescription[];/*** Whether to report slow tests. Pass `null` to disable this feature.*diff --git a/utils/generate_types/overrides-test.d.ts b/utils/generate_types/overrides-test.d.tsindex e078a27fa3..57feedfe26 100644--- a/utils/generate_types/overrides-test.d.ts+++ b/utils/generate_types/overrides-test.d.ts@@ -23,6 +23,7 @@ export type ReporterDescription =['dot'] |['line'] |['list'] |+ ['github'] |['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |['json'] | ['json', { outputFile?: string }] |['null'] |@@ -108,7 +109,7 @@ interface TestConfig {preserveOutput?: PreserveOutput;projects?: Project[];quiet?: boolean;- reporter?: LiteralUnion<'list'|'dot'|'line'|'json'|'junit'|'null', string> | ReporterDescription[];+ reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null', string> | ReporterDescription[];reportSlowTests?: ReportSlowTests;shard?: Shard;updateSnapshots?: UpdateSnapshots;