Skip to content

Commit 64a1d78

Browse files
test(ssr): gate readiness on last expose (port 3007) to avoid shell prewarm race
1 parent b21365a commit 64a1d78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

federated-css-react-ssr/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export default defineConfig({
3535
{
3636
command: 'node scripts/start-exposes.cjs',
3737
cwd: __dirname,
38-
port: 3001,
38+
// Wait for the last expose to be up to avoid racing shells against early ports
39+
port: 3007,
3940
reuseExistingServer: reuseExisting,
4041
timeout: 900_000,
4142
},

0 commit comments

Comments
 (0)