Skip to content

Commit

Permalink
test: unflake "should work with custom reporter" (#30526)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgozman committed Apr 25, 2024
1 parent ff3d3ae commit a6f0a89
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/playwright-test/reporter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand All @@ -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
Expand Down

0 comments on commit a6f0a89

Please sign in to comment.