File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ export default defineConfig({
88 workers : process . env . CI ? 1 : undefined , // Limit workers in CI
99 reporter : "html" , // Reporter to use
1010 use : {
11- baseURL : "http://localhost :3000" , // Base URL for actions like page.goto()
11+ baseURL : "http://127.0.0.1 :3000" , // Use explicit IP for baseURL
1212 trace : "retain-on-failure" , // Record trace if test fails
1313 } ,
1414 webServer : {
1515 command : "DEBUG=next:start pnpm start" ,
16- url : "http://localhost :3000" , // URL to wait for
16+ url : "http://127.0.0.1 :3000" , // Use explicit IP for webServer check
1717 reuseExistingServer : ! process . env . CI , // Reuse server locally, start fresh in CI
1818 timeout : 240 * 1000 , // Increase timeout for server start (4 minutes)
1919 stderr : 'pipe' , // Pipe server errors to Playwright process
You can’t perform that action at this time.
0 commit comments