@@ -98,7 +98,7 @@ test('should record api trace', async ({ runInlineTest, server }, testInfo) => {
98
98
' Fixture "page"' ,
99
99
' Create page' ,
100
100
'Navigate to "about:blank"' ,
101
- 'Fetch "/empty.html"' ,
101
+ 'GET "/empty.html"' ,
102
102
'After Hooks' ,
103
103
' Fixture "page"' ,
104
104
' Fixture "context"' ,
@@ -108,7 +108,7 @@ test('should record api trace', async ({ runInlineTest, server }, testInfo) => {
108
108
expect ( trace2 . actionTree ) . toEqual ( [
109
109
'Before Hooks' ,
110
110
'Create request context' ,
111
- 'Fetch "/empty.html"' ,
111
+ 'GET "/empty.html"' ,
112
112
'After Hooks' ,
113
113
] ) ;
114
114
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) => {
121
121
' Fixture "page"' ,
122
122
' Create page' ,
123
123
'Navigate to "about:blank"' ,
124
- 'Fetch "/empty.html"' ,
124
+ 'GET "/empty.html"' ,
125
125
'Expect "toBe"' ,
126
126
'After Hooks' ,
127
127
' Fixture "page"' ,
@@ -328,7 +328,7 @@ test('should not override trace file in afterAll', async ({ runInlineTest, serve
328
328
' afterAll hook' ,
329
329
' Fixture "request"' ,
330
330
' Create request context' ,
331
- ' Fetch "/empty.html"' ,
331
+ ' GET "/empty.html"' ,
332
332
' Fixture "request"' ,
333
333
'Worker Cleanup' ,
334
334
' Fixture "browser"' ,
@@ -506,7 +506,7 @@ test(`trace:retain-on-failure should create trace if request context is disposed
506
506
} , { trace : 'retain-on-failure' } ) ;
507
507
const tracePath = test . info ( ) . outputPath ( 'test-results' , 'a-passing-test' , 'trace.zip' ) ;
508
508
const trace = await parseTrace ( tracePath ) ;
509
- expect ( trace . titles ) . toContain ( 'Fetch "/empty.html"' ) ;
509
+ expect ( trace . titles ) . toContain ( 'GET "/empty.html"' ) ;
510
510
expect ( result . failed ) . toBe ( 1 ) ;
511
511
} ) ;
512
512
@@ -1155,7 +1155,7 @@ test('trace:retain-on-first-failure should create trace if request context is di
1155
1155
} , { trace : 'retain-on-first-failure' } ) ;
1156
1156
const tracePath = test . info ( ) . outputPath ( 'test-results' , 'a-fail' , 'trace.zip' ) ;
1157
1157
const trace = await parseTrace ( tracePath ) ;
1158
- expect ( trace . titles ) . toContain ( 'Fetch "/empty.html"' ) ;
1158
+ expect ( trace . titles ) . toContain ( 'GET "/empty.html"' ) ;
1159
1159
expect ( result . failed ) . toBe ( 1 ) ;
1160
1160
} ) ;
1161
1161
@@ -1261,7 +1261,7 @@ test('should not nest top level expect into unfinished api calls ', {
1261
1261
' Fixture "page"' ,
1262
1262
' Create page' ,
1263
1263
'Navigate to "/index"' ,
1264
- 'Fetch "/hang"' ,
1264
+ 'GET "/hang"' ,
1265
1265
'Expect "toBeVisible"' ,
1266
1266
'After Hooks' ,
1267
1267
' Fixture "page"' ,
0 commit comments