@devries-cameron20 / t3code-1 / commits / f59ee36bf1
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): allow concurrent browser tests to retry ports (#1951)

Ashvin Nihalani committed Apr 12, 2026 at 00:46 UTC f59ee36bf17ec9c8e0808c0e5aada497ae80831b
1 file changed +8
apps/web/vitest.browser.config.ts
+8
@@ -14,6 +14,11 @@ export default mergeConfig(
14 "~": srcPath,
15 },
16 },
17 + server: {
18 + // The app dev server uses a fixed port, but browser tests need to allow
19 + // concurrent runs to claim the next available port.
20 + strictPort: false,
21 + },
22 test: {
23 include: ["src/components/**/*.browser.tsx"],
24 browser: {
@@ -21,6 +26,9 @@ export default mergeConfig(
26 provider: playwright(),
27 instances: [{ browser: "chromium" }],
28 headless: true,
29 + api: {
30 + strictPort: false,
31 + },
32 },
33 testTimeout: 30_000,
34 hookTimeout: 30_000,