Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: fix recently added junit tests (#32844)

Yury Semikhatsky728b4814b410
diff --git a/tests/playwright-test/reporter-junit.spec.ts b/tests/playwright-test/reporter-junit.spec.ts
index eb1dcf529e..2b182e00c0 100644
--- a/tests/playwright-test/reporter-junit.spec.ts
+++ b/tests/playwright-test/reporter-junit.spec.ts
@@ -523,7 +523,7 @@ for (const useIntermediateMergeReport of [false, true] as const) {
'package.json': `{ "name": "foo" }`,
'bar/playwright.config.js': `
module.exports = {
- reporter: [['junit', { outputFile: 'results.xml' }]],
+ reporter: [['junit', { outputFile: 'results.xml' }], ['line', {}]],
projects: [ {} ]
};
`,
@@ -561,7 +561,7 @@ for (const useIntermediateMergeReport of [false, true] as const) {
'package.json': `{ "name": "foo" }`,
'bar/playwright.config.js': `
module.exports = {
- reporter: [['junit', {}]],
+ reporter: [['junit', {}], ['line', {}]],
projects: [ {} ]
};
`,