From 7326227ba373edc00664e67e88e868c289b67d04 Mon Sep 17 00:00:00 2001 From: William Frank Monroy Mamani Date: Thu, 19 Nov 2026 23:15:25 -0600 Subject: [PATCH] test(browser): give servers in CI a 15 s action timeout instead of upstream's 5 s --- packages/browser/test/helpers/sandbox.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/browser/test/helpers/sandbox.ts b/packages/browser/test/helpers/sandbox.ts index ecc9ecce..de663782 100644 --- a/packages/browser/test/helpers/sandbox.ts +++ b/packages/browser/test/helpers/sandbox.ts @@ -16,6 +16,10 @@ export function sandbox(): Sandbox { PATH: process.env.PATH, HOME: home, TMPDIR: process.env.TMPDIR, + // On a CI runner a real Chrome can take more than upstream's 5 s for one action (a fill right + // after a navigation, a click that opens a popup). Servers started with this env get 15 s; + // a test that sets --timeout-action keeps its own value, since the flag wins over the env. + ...(process.env.CI ? { PLAYWRIGHT_MCP_TIMEOUT_ACTION: "15000" } : {}), }; return { home,