File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ export default defineConfig({
88 // NOTE: https://github.com/microsoft/playwright/issues/22592#issuecomment-1519991484
99 // BASE_URL should end with "/"
1010 // every test should us relative paths prepended with "./"
11- baseURL : process . env . BASE_URL || "http://localhost :3000/" ,
11+ baseURL : process . env . BASE_URL || "http://127.0.0.1 :3000/" ,
1212 trace : "retain-on-failure" ,
1313 video : "retain-on-failure" ,
1414 colorScheme : "dark" , // assume dark by default
1515 } ,
1616 webServer : {
1717 command : "dev-ui-mock" ,
18- url : "http://localhost :3000" ,
18+ url : "http://127.0.0.1 :3000/ " ,
1919 reuseExistingServer : ! process . env . CI ,
2020 stdout : "pipe" ,
2121 stderr : "pipe" ,
Original file line number Diff line number Diff line change 1- export const BASE_URL = process . env . BASE_URL || "http://localhost :3000" ;
1+ export const BASE_URL = process . env . BASE_URL || "http://127.0.0.1 :3000" ;
22const isProd = BASE_URL . includes ( "netlify.app" ) || BASE_URL . includes ( "github.io" ) ;
33
44export const TEST_APP_NAME = process . env . TEST_APP_NAME || ( isProd ? "python-web-app" : "mock-test-app" ) ;
You can’t perform that action at this time.
0 commit comments