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
test: unflake "should work with custom reporter" (#30526)
Dmitry Gozmana6f0a8916943
diff --git a/tests/playwright-test/reporter.spec.ts b/tests/playwright-test/reporter.spec.tsindex f07576b90c..f036e3e494 100644--- a/tests/playwright-test/reporter.spec.ts+++ b/tests/playwright-test/reporter.spec.ts@@ -141,12 +141,8 @@ for (const useIntermediateMergeReport of [false, true] as const) {'a.test.ts': `import { test, expect } from '@playwright/test';test('not run', async ({}) => {- console.log('log');- console.error('error');});test.only('is run', async ({}) => {- console.log('log');- console.error('error');});`}, { reporter: '', workers: 1 });@@ -156,16 +152,10 @@ for (const useIntermediateMergeReport of [false, true] as const) {onBegin: 3 tests totaloptions.onBegin=begin-dataonTestBegin: foo > a.test.ts > is run; retry #0-log-erroronTestEnd: foo > a.test.ts > is run; retry #0onTestBegin: foo > a.test.ts > is run; retry #0-log-erroronTestEnd: foo > a.test.ts > is run; retry #0onTestBegin: bar > a.test.ts > is run; retry #0-log-erroronTestEnd: bar > a.test.ts > is run; retry #0onEndoptions.onEnd=end-data