Skip to content

Commit 6942328

Browse files
committed
chore(config): update Playwright config to check if port is open instead of polling URL
1 parent 02807e7 commit 6942328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export default defineConfig({
1313
},
1414
webServer: {
1515
command: "DEBUG=next:start pnpm start",
16-
url: "http://127.0.0.1:3000", // Use explicit IP for webServer check
1716
reuseExistingServer: !process.env.CI, // Reuse server locally, start fresh in CI
1817
timeout: 240 * 1000, // Increase timeout for server start (4 minutes)
18+
port: 3000, // Check if port is open instead of polling URL
1919
stderr: 'pipe', // Pipe server errors to Playwright process
2020
stdout: 'pipe', // Pipe server output to Playwright process
2121
},

0 commit comments

Comments
 (0)