@@ -98,7 +98,7 @@ test('should record api trace', async ({ runInlineTest, server }, testInfo) => {
9898 ' Fixture "page"' ,
9999 ' Create page' ,
100100 'Navigate to "about:blank"' ,
101- 'Fetch "/empty.html"' ,
101+ 'GET "/empty.html"' ,
102102 'After Hooks' ,
103103 ' Fixture "page"' ,
104104 ' Fixture "context"' ,
@@ -108,7 +108,7 @@ test('should record api trace', async ({ runInlineTest, server }, testInfo) => {
108108 expect ( trace2 . actionTree ) . toEqual ( [
109109 'Before Hooks' ,
110110 'Create request context' ,
111- 'Fetch "/empty.html"' ,
111+ 'GET "/empty.html"' ,
112112 'After Hooks' ,
113113 ] ) ;
114114 const trace3 = await parseTrace ( testInfo . outputPath ( 'test-results' , 'a-fail' , 'trace.zip' ) ) ;
@@ -121,7 +121,7 @@ test('should record api trace', async ({ runInlineTest, server }, testInfo) => {
121121 ' Fixture "page"' ,
122122 ' Create page' ,
123123 'Navigate to "about:blank"' ,
124- 'Fetch "/empty.html"' ,
124+ 'GET "/empty.html"' ,
125125 'Expect "toBe"' ,
126126 'After Hooks' ,
127127 ' Fixture "page"' ,
@@ -328,7 +328,7 @@ test('should not override trace file in afterAll', async ({ runInlineTest, serve
328328 ' afterAll hook' ,
329329 ' Fixture "request"' ,
330330 ' Create request context' ,
331- ' Fetch "/empty.html"' ,
331+ ' GET "/empty.html"' ,
332332 ' Fixture "request"' ,
333333 'Worker Cleanup' ,
334334 ' Fixture "browser"' ,
@@ -488,7 +488,7 @@ test(`trace:retain-on-failure should create trace if request context is disposed
488488 } , { trace : 'retain-on-failure' } ) ;
489489 const tracePath = test . info ( ) . outputPath ( 'test-results' , 'a-passing-test' , 'trace.zip' ) ;
490490 const trace = await parseTrace ( tracePath ) ;
491- expect ( trace . titles ) . toContain ( 'Fetch "/empty.html"' ) ;
491+ expect ( trace . titles ) . toContain ( 'GET "/empty.html"' ) ;
492492 expect ( result . failed ) . toBe ( 1 ) ;
493493} ) ;
494494
@@ -1137,7 +1137,7 @@ test('trace:retain-on-first-failure should create trace if request context is di
11371137 } , { trace : 'retain-on-first-failure' } ) ;
11381138 const tracePath = test . info ( ) . outputPath ( 'test-results' , 'a-fail' , 'trace.zip' ) ;
11391139 const trace = await parseTrace ( tracePath ) ;
1140- expect ( trace . titles ) . toContain ( 'Fetch "/empty.html"' ) ;
1140+ expect ( trace . titles ) . toContain ( 'GET "/empty.html"' ) ;
11411141 expect ( result . failed ) . toBe ( 1 ) ;
11421142} ) ;
11431143
@@ -1243,7 +1243,7 @@ test('should not nest top level expect into unfinished api calls ', {
12431243 ' Fixture "page"' ,
12441244 ' Create page' ,
12451245 'Navigate to "/index"' ,
1246- 'Fetch "/hang"' ,
1246+ 'GET "/hang"' ,
12471247 'Expect "toBeVisible"' ,
12481248 'After Hooks' ,
12491249 ' Fixture "page"' ,
0 commit comments