correct CI for front-end unit-test - issue 1776

This commit is contained in:
Laurent GAY
2025-06-30 18:28:29 +02:00
parent 888d4ed401
commit 98b2b23dcb
2 changed files with 10 additions and 1 deletions

View File

@@ -30,7 +30,10 @@ const config: PlaywrightTestConfig = {
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
reporter: [
["html"],
["junit", { outputFile: "results-" + process.env.BROWSER + ".xml" }],
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */