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
feat(html): unhide html reporter (#9512)
Pavel Feldman584014f6fa9d
diff --git a/packages/playwright-test/src/runner.ts b/packages/playwright-test/src/runner.tsindex 34a4862969..15975eb6cf 100644--- a/packages/playwright-test/src/runner.ts+++ b/packages/playwright-test/src/runner.ts@@ -33,6 +33,7 @@ import ListReporter from './reporters/list';import JSONReporter from './reporters/json';import JUnitReporter from './reporters/junit';import EmptyReporter from './reporters/empty';+import HtmlReporter from './reporters/html';import { ProjectImpl } from './project';import { Minimatch } from 'minimatch';import { FullConfig } from './types';@@ -73,6 +74,7 @@ export class Runner {json: JSONReporter,junit: JUnitReporter,null: EmptyReporter,+ html: HtmlReporter,};const reporters: Reporter[] = [];for (const r of this._loader.fullConfig().reporter) {@@ -541,5 +543,5 @@ class ListModeReporter implements Reporter {}}-export const builtInReporters = ['list', 'line', 'dot', 'json', 'junit', 'null', 'github'] as const;+export const builtInReporters = ['list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html'] as const;export type BuiltInReporter = typeof builtInReporters[number];diff --git a/tests/playwright-test/attachment-reporter.spec.ts b/tests/playwright-test/reporter-attachment.spec.tssimilarity index 100%rename from tests/playwright-test/attachment-reporter.spec.tsrename to tests/playwright-test/reporter-attachment.spec.tsdiff --git a/tests/playwright-test/base-reporter.spec.ts b/tests/playwright-test/reporter-base.spec.tssimilarity index 100%rename from tests/playwright-test/base-reporter.spec.tsrename to tests/playwright-test/reporter-base.spec.tsdiff --git a/tests/playwright-test/dot-reporter.spec.ts b/tests/playwright-test/reporter-dot.spec.tssimilarity index 100%rename from tests/playwright-test/dot-reporter.spec.tsrename to tests/playwright-test/reporter-dot.spec.tsdiff --git a/tests/playwright-test/github-reporter.spec.ts b/tests/playwright-test/reporter-github.spec.tssimilarity index 100%rename from tests/playwright-test/github-reporter.spec.tsrename to tests/playwright-test/reporter-github.spec.tsdiff --git a/tests/playwright-test/html-reporter.spec.ts b/tests/playwright-test/reporter-html.spec.tssimilarity index 100%rename from tests/playwright-test/html-reporter.spec.tsrename to tests/playwright-test/reporter-html.spec.tsdiff --git a/tests/playwright-test/json-reporter.spec.ts b/tests/playwright-test/reporter-json.spec.tssimilarity index 100%rename from tests/playwright-test/json-reporter.spec.tsrename to tests/playwright-test/reporter-json.spec.tsdiff --git a/tests/playwright-test/junit-reporter.spec.ts b/tests/playwright-test/reporter-junit.spec.tssimilarity index 100%rename from tests/playwright-test/junit-reporter.spec.tsrename to tests/playwright-test/reporter-junit.spec.tsdiff --git a/tests/playwright-test/line-reporter.spec.ts b/tests/playwright-test/reporter-line.spec.tssimilarity index 100%rename from tests/playwright-test/line-reporter.spec.tsrename to tests/playwright-test/reporter-line.spec.tsdiff --git a/tests/playwright-test/list-reporter.spec.ts b/tests/playwright-test/reporter-list.spec.tssimilarity index 100%rename from tests/playwright-test/list-reporter.spec.tsrename to tests/playwright-test/reporter-list.spec.tsdiff --git a/tests/playwright-test/raw-reporter.spec.ts b/tests/playwright-test/reporter-raw.spec.tssimilarity index 100%rename from tests/playwright-test/raw-reporter.spec.tsrename to tests/playwright-test/reporter-raw.spec.ts