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

This commit is contained in:
Ashvin Nihalani authored and GitHub committed 2026-04-12 07:46:44 +00:00
1 parent 2fce84a1d4
commit f59ee36bf1
1 file changed
+8
+8
View File
@@ -14,6 +14,11 @@ export default mergeConfig(
"~": srcPath,
},
},
server: {
// The app dev server uses a fixed port, but browser tests need to allow
// concurrent runs to claim the next available port.
strictPort: false,
},
test: {
include: ["src/components/**/*.browser.tsx"],
browser: {
@@ -21,6 +26,9 @@ export default mergeConfig(
provider: playwright(),
instances: [{ browser: "chromium" }],
headless: true,
api: {
strictPort: false,
},
},
testTimeout: 30_000,
hookTimeout: 30_000,