@@ -5,10 +5,10 @@ import { expectedFetchPerformanceSpan, expectedXHRPerformanceSpan } from '../../
5
5
import { getReplayRecordingContent , shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
6
6
7
7
sentryTest ( '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.
10
10
// Possibly related: https://github.com/microsoft/playwright/issues/11390
11
- if ( shouldSkipReplayTest ( ) || browserName === 'firefox' ) {
11
+ if ( shouldSkipReplayTest ( ) || [ 'firefox' , 'webkit' ] . includes ( browserName ) ) {
12
12
sentryTest . skip ( ) ;
13
13
}
14
14
@@ -48,9 +48,9 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc
48
48
} ) ;
49
49
50
50
sentryTest ( '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 ) ) {
54
54
sentryTest . skip ( ) ;
55
55
}
56
56
0 commit comments