@@ -5,10 +5,10 @@ import { expectedFetchPerformanceSpan, expectedXHRPerformanceSpan } from '../../
55import { getReplayRecordingContent , shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
66
77sentryTest ( 'replay recording should contain fetch request span' , async ( { getLocalTestPath, page, browserName } ) => {
8- // For some reason, observing and waiting for requests in firefox is extremely flaky.
9- // We therefore skip this test for firefox and only test on chromium/webkit .
8+ // For some reason, observing and waiting for requests in firefox/webkit is extremely flaky.
9+ // We therefore skip this test for firefox and only test on chromium.
1010 // Possibly related: https://github.com/microsoft/playwright/issues/11390
11- if ( shouldSkipReplayTest ( ) || browserName === 'firefox' ) {
11+ if ( shouldSkipReplayTest ( ) || [ 'firefox' , 'webkit' ] . includes ( browserName ) ) {
1212 sentryTest . skip ( ) ;
1313 }
1414
@@ -48,9 +48,9 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc
4848} ) ;
4949
5050sentryTest ( 'replay recording should contain XHR request span' , async ( { getLocalTestPath, page, browserName } ) => {
51- // For some reason, observing and waiting for requests in firefox is extremely flaky.
52- // We therefore skip this test for firefox and only test on chromium/webkit .
53- if ( shouldSkipReplayTest ( ) || browserName === 'firefox' ) {
51+ // For some reason, observing and waiting for requests in firefox/webkit is extremely flaky.
52+ // We therefore skip this test for firefox and only test on chromium.
53+ if ( shouldSkipReplayTest ( ) || [ 'firefox' , 'webkit' ] . includes ( browserName ) ) {
5454 sentryTest . skip ( ) ;
5555 }
5656
0 commit comments