You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2026/09/30 08:35:09 UTC

(myfaces-tobago) branch main updated: refactor(Playwright): config

This is an automated email from the ASF dual-hosted git repository.

henningn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/main by this push:
     new 1d702485be refactor(Playwright): config
1d702485be is described below

commit 1d702485be1260223aa1aeca80d756cda038cf29
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Wed Sep 30 09:30:37 2026 +0200

    refactor(Playwright): config
    
    No retries for tests started from IDE. For npm run all:servers -> 8 retries.
---
 tobago-example/tobago-example-demo/playwright.config.ts         | 1 -
 tobago-example/tobago-example-demo/playwright.servers.config.ts | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/playwright.config.ts b/tobago-example/tobago-example-demo/playwright.config.ts
index 1648e6d5ae..8d57aa4470 100644
--- a/tobago-example/tobago-example-demo/playwright.config.ts
+++ b/tobago-example/tobago-example-demo/playwright.config.ts
@@ -22,7 +22,6 @@ import {devices, PlaywrightTestConfig} from "@playwright/test";
 const defaultConfig: PlaywrightTestConfig = {
   testDir: "./src/test/typescript",
   outputDir: "./target/test-results",
-  retries: 1,
   reporter: [["html", {outputFolder: "./target/playwright-report"}]],
   use: {video: "on"},
   projects: [
diff --git a/tobago-example/tobago-example-demo/playwright.servers.config.ts b/tobago-example/tobago-example-demo/playwright.servers.config.ts
index d1ebf3962d..ae778c07e9 100644
--- a/tobago-example/tobago-example-demo/playwright.servers.config.ts
+++ b/tobago-example/tobago-example-demo/playwright.servers.config.ts
@@ -22,8 +22,9 @@ import defaultConfig from "./playwright.config";
 
 const serversConfig: PlaywrightTestConfig = {
   ...defaultConfig,
+  retries: 8,
   projects: [
-    ...defaultConfig.projects,
+    ...defaultConfig.projects!!,
     {
       name: "Open Liberty - Chromium",
       use: {baseURL: "http://localhost:8081", ...devices["Desktop Chrome"]}