@@ -3,7 +3,7 @@ import type { Event } from '@sentry/core';
33import { sentryTest } from '../../../../utils/fixtures' ;
44import { getMultipleSentryEnvelopeRequests , shouldSkipTracingTest } from '../../../../utils/helpers' ;
55
6- sentryTest ( 'should create fetch spans with http timing @firefox ' , async ( { browserName, getLocalTestUrl, page } ) => {
6+ sentryTest ( 'creates fetch spans with http timing' , async ( { browserName, getLocalTestUrl, page } ) => {
77 const supportedBrowsers = [ 'chromium' , 'firefox' ] ;
88
99 if ( shouldSkipTracingTest ( ) || ! supportedBrowsers . includes ( browserName ) ) {
@@ -40,6 +40,8 @@ sentryTest('should create fetch spans with http timing @firefox', async ({ brows
4040 trace_id : tracingEvent . contexts ?. trace ?. trace_id ,
4141 data : expect . objectContaining ( {
4242 'http.request.redirect_start' : expect . any ( Number ) ,
43+ 'http.request.redirect_end' : expect . any ( Number ) ,
44+ 'http.request.worker_start' : expect . any ( Number ) ,
4345 'http.request.fetch_start' : expect . any ( Number ) ,
4446 'http.request.domain_lookup_start' : expect . any ( Number ) ,
4547 'http.request.domain_lookup_end' : expect . any ( Number ) ,
@@ -49,6 +51,7 @@ sentryTest('should create fetch spans with http timing @firefox', async ({ brows
4951 'http.request.request_start' : expect . any ( Number ) ,
5052 'http.request.response_start' : expect . any ( Number ) ,
5153 'http.request.response_end' : expect . any ( Number ) ,
54+ 'http.request.time_to_first_byte' : expect . any ( Number ) ,
5255 'network.protocol.version' : expect . any ( String ) ,
5356 } ) ,
5457 } ) ,
0 commit comments