@@ -51,7 +51,7 @@ describe("historyApiFallback option", () => {
5151 pageErrors . push ( error ) ;
5252 } ) ;
5353
54- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
54+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
5555 waitUntil : "networkidle0" ,
5656 } ) ;
5757
@@ -114,7 +114,7 @@ describe("historyApiFallback option", () => {
114114 pageErrors . push ( error ) ;
115115 } ) ;
116116
117- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
117+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
118118 waitUntil : "networkidle0" ,
119119 } ) ;
120120
@@ -181,7 +181,7 @@ describe("historyApiFallback option", () => {
181181 pageErrors . push ( error ) ;
182182 } ) ;
183183
184- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
184+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
185185 waitUntil : "networkidle0" ,
186186 } ) ;
187187
@@ -210,7 +210,7 @@ describe("historyApiFallback option", () => {
210210 } ) ;
211211
212212 const response = await page . goto (
213- `http://127.0.0.1 :${ port } /random-file.txt` ,
213+ `http://localhost :${ port } /random-file.txt` ,
214214 {
215215 waitUntil : "networkidle2" ,
216216 } ,
@@ -276,7 +276,7 @@ describe("historyApiFallback option", () => {
276276 pageErrors . push ( error ) ;
277277 } ) ;
278278
279- const response = await page . goto ( `http://127.0.0.1 :${ port } /index.html` , {
279+ const response = await page . goto ( `http://localhost :${ port } /index.html` , {
280280 waitUntil : "networkidle0" ,
281281 } ) ;
282282
@@ -352,7 +352,7 @@ describe("historyApiFallback option", () => {
352352 pageErrors . push ( error ) ;
353353 } ) ;
354354
355- const response = await page . goto ( `http://127.0.0.1 :${ port } /` , {
355+ const response = await page . goto ( `http://localhost :${ port } /` , {
356356 waitUntil : "networkidle0" ,
357357 } ) ;
358358
@@ -380,7 +380,7 @@ describe("historyApiFallback option", () => {
380380 pageErrors . push ( error ) ;
381381 } ) ;
382382
383- const response = await page . goto ( `http://127.0.0.1 :${ port } /acme` , {
383+ const response = await page . goto ( `http://localhost :${ port } /acme` , {
384384 waitUntil : "networkidle0" ,
385385 } ) ;
386386
@@ -408,7 +408,7 @@ describe("historyApiFallback option", () => {
408408 pageErrors . push ( error ) ;
409409 } ) ;
410410
411- const response = await page . goto ( `http://127.0.0.1 :${ port } /other` , {
411+ const response = await page . goto ( `http://localhost :${ port } /other` , {
412412 waitUntil : "networkidle0" ,
413413 } ) ;
414414
@@ -476,7 +476,7 @@ describe("historyApiFallback option", () => {
476476 pageErrors . push ( error ) ;
477477 } ) ;
478478
479- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
479+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
480480 waitUntil : "networkidle0" ,
481481 } ) ;
482482
@@ -552,7 +552,7 @@ describe("historyApiFallback option", () => {
552552 pageErrors . push ( error ) ;
553553 } ) ;
554554
555- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
555+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
556556 waitUntil : "networkidle0" ,
557557 } ) ;
558558
@@ -625,7 +625,7 @@ describe("historyApiFallback option", () => {
625625 pageErrors . push ( error ) ;
626626 } ) ;
627627
628- const response = await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
628+ const response = await page . goto ( `http://localhost :${ port } /foo` , {
629629 waitUntil : "networkidle0" ,
630630 } ) ;
631631
@@ -645,7 +645,7 @@ describe("historyApiFallback option", () => {
645645 } ) ;
646646
647647 it ( "should perform HEAD request in same way as GET" , async ( ) => {
648- await page . goto ( `http://127.0.0.1 :${ port } /foo` , {
648+ await page . goto ( `http://localhost :${ port } /foo` , {
649649 waitUntil : "networkidle0" ,
650650 } ) ;
651651
0 commit comments