From a6f0a89169430ad70f945c44618db7ebda328ec3 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Wed, 24 Apr 2024 20:03:39 -0700 Subject: [PATCH] test: unflake "should work with custom reporter" (#30526) --- tests/playwright-test/reporter.spec.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/playwright-test/reporter.spec.ts b/tests/playwright-test/reporter.spec.ts index 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 total options.onBegin=begin-data onTestBegin: foo > a.test.ts > is run; retry #0 -log -error onTestEnd: foo > a.test.ts > is run; retry #0 onTestBegin: foo > a.test.ts > is run; retry #0 -log -error onTestEnd: foo > a.test.ts > is run; retry #0 onTestBegin: bar > a.test.ts > is run; retry #0 -log -error onTestEnd: bar > a.test.ts > is run; retry #0 onEnd options.onEnd=end-data