authorgravatar for ashvin.nihalani@gmail.comAshvin Nihalani <ashvin.nihalani@gmail.com> 2026-04-12 00:46:44-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-04-12 07:46:44+00:00
logf59ee36bf17ec9c8e0808c0e5aada497ae80831b
treed7e2b0fe87eff1bc0dd2b3796d1681cae6f85bca
parent2fce84a1d45bdecab05ef1f6864266236b53a5df
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 8 insertions(+), 0 deletions(-)

apps/web/vitest.browser.config.ts+8
......@@ -14,6 +14,11 @@ export default mergeConfig(
1414 "~": srcPath,
1515 },
1616 },
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 },
1722 test: {
1823 include: ["src/components/**/*.browser.tsx"],
1924 browser: {
......@@ -21,6 +26,9 @@ export default mergeConfig(
2126 provider: playwright(),
2227 instances: [{ browser: "chromium" }],
2328 headless: true,
29 api: {
30 strictPort: false,
31 },
2432 },
2533 testTimeout: 30_000,
2634 hookTimeout: 30_000,