From a722ca2b3b22724c6fc68780bbc7e747506b0d9e Mon Sep 17 00:00:00 2001 From: codex Date: Tue, 11 Aug 2026 06:22:36 -0300 Subject: [PATCH] ci: retry transient Playwright failures --- testing/frontend/playwright-ct.config.mjs | 1 + testing/frontend/playwright.config.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/testing/frontend/playwright-ct.config.mjs b/testing/frontend/playwright-ct.config.mjs index 0460265..4d676e7 100644 --- a/testing/frontend/playwright-ct.config.mjs +++ b/testing/frontend/playwright-ct.config.mjs @@ -6,6 +6,7 @@ const testingDir = path.dirname(fileURLToPath(import.meta.url)); export default defineConfig({ testDir: path.resolve(testingDir, "component"), + retries: process.env.CI ? 1 : 0, use: { ctPort: 3100, ctTemplateDir: "../../frontend/playwright", diff --git a/testing/frontend/playwright.config.mjs b/testing/frontend/playwright.config.mjs index 924d46e..1abef84 100644 --- a/testing/frontend/playwright.config.mjs +++ b/testing/frontend/playwright.config.mjs @@ -9,6 +9,7 @@ const webServerCommand = process.env.PLAYWRIGHT_REUSE_DIST === "1" ? previewComm export default defineConfig({ testDir: path.resolve(testingDir, "e2e"), + retries: process.env.CI ? 1 : 0, workers: 1, timeout: 60000, expect: {