File tree 2 files changed +4
-3
lines changed
packages/integration-tests
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
"test:bundle:es5:min" : " PW_BUNDLE=bundle_es5_min yarn test" ,
24
24
"test:bundle:es6" : " PW_BUNDLE=bundle_es6 yarn test" ,
25
25
"test:bundle:es6:min" : " PW_BUNDLE=bundle_es6_min yarn test" ,
26
+ "test:bundle:replay:es6" : " PW_BUNDLE=bundle_replay_es6 yarn test" ,
27
+ "test:bundle:replay:es6:min" : " PW_BUNDLE=bundle_replay_es6_min yarn test" ,
26
28
"test:cjs" : " PW_BUNDLE=cjs yarn test" ,
27
29
"test:esm" : " PW_BUNDLE=esm yarn test" ,
28
30
"test:ci" : " playwright test ./suites --browser='all' --reporter='line'"
Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ import type { RecordingEvent } from '@sentry/replay/build/npm/types/types';
4
4
5
5
import { sentryTest } from '../../../utils/fixtures' ;
6
6
import { envelopeRequestParser } from '../../../utils/helpers' ;
7
- import { waitForReplayRequest } from '../../../utils/replayHelpers' ;
7
+ import { shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
8
8
9
9
sentryTest ( 'should have the correct default privacy settings' , async ( { getLocalTestPath, page } ) => {
10
- // Replay bundles are es6 only
11
- if ( process . env . PW_BUNDLE && process . env . PW_BUNDLE . startsWith ( 'bundle_es5' ) ) {
10
+ if ( shouldSkipReplayTest ( ) ) {
12
11
sentryTest . skip ( ) ;
13
12
}
14
13
You can’t perform that action at this time.
0 commit comments