fix(web): allow concurrent browser tests to retry ports (#1951)
This commit is contained in:
1 parent
2fce84a1d4
commit
f59ee36bf1
1 file changed
+8
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user