diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index f6bb9ea..22b7418 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -33,7 +33,7 @@ export default defineConfig({ { text: "Examples", link: "/examples/" }, { text: "Overlay Testing", link: "/overlay/" }, { - text: "v1.1.36", + text: "v1.1.37", items: [{ text: "Changelog", link: "/changelog" }], }, ], diff --git a/docs/changelog.md b/docs/changelog.md index dc347a9..c315905 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. -## [1.1.36] - Current +## [1.1.37] - Current + +### Added + +- **JUnit reporter in base Playwright config**: All consuming workspaces now automatically generate `playwright-report/junit-results.xml` alongside the existing HTML and JSON reports. + +## [1.1.36] ### Fixed diff --git a/package.json b/package.json index 131ca90..5cbe6f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "1.1.36", + "version": "1.1.37", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { diff --git a/src/playwright/base-config.ts b/src/playwright/base-config.ts index 398ed13..f20c99e 100644 --- a/src/playwright/base-config.ts +++ b/src/playwright/base-config.ts @@ -19,6 +19,7 @@ export const baseConfig: PlaywrightTestConfig = { ["list"], ["html", { outputFolder: "playwright-report", open: "on-failure" }], ["json", { outputFile: "playwright-report/results.json" }], + ["junit", { outputFile: "playwright-report/junit-results.xml" }], [resolve(import.meta.dirname, "../playwright/teardown-reporter.js")], ], use: {