File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
dev-packages/browser-integration-tests
suites/replay/captureReplayOffline Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ const config: PlaywrightTestConfig = {
7
7
fullyParallel : true ,
8
8
// Use 3 workers on CI, else use defaults (based on available CPU cores)
9
9
// Note that 3 is a random number selected to work well with our CI setup
10
- workers : process . env . GITHUB_ACTIONS ? 3 : undefined ,
10
+ workers : process . env . CI ? 3 : undefined ,
11
11
testMatch : / t e s t .t s / ,
12
12
13
13
use : {
14
- trace : process . env . GITHUB_ACTIONS ? 'retain-on-failure' : 'off' ,
14
+ trace : process . env . CI ? 'retain-on-failure' : 'off' ,
15
15
} ,
16
16
17
17
projects : [
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import { sentryTest } from '../../../utils/fixtures';
4
4
import { getReplayEvent , shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
5
5
6
6
sentryTest ( 'should capture replays offline' , async ( { getLocalTestPath, page } ) => {
7
- if ( shouldSkipReplayTest ( ) ) {
7
+ // makeBrowserOfflineTransport is not included in any CDN bundles
8
+ if ( shouldSkipReplayTest ( ) || ( process . env . PW_BUNDLE && process . env . PW_BUNDLE . startsWith ( 'bundle' ) ) ) {
8
9
sentryTest . skip ( ) ;
9
10
}
10
11
You can’t perform that action at this time.
0 commit comments