Skip to content

Commit ed4358b

Browse files
committed
skip test for bundles
1 parent 102045d commit ed4358b

File tree

1 file changed

+3
-1
lines changed
  • packages/browser-integration-tests/suites/replay/captureConsoleLog

1 file changed

+3
-1
lines changed

packages/browser-integration-tests/suites/replay/captureConsoleLog/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { sentryTest } from '../../../utils/fixtures';
44
import { getCustomRecordingEvents, shouldSkipReplayTest, waitForReplayRequest } from '../../../utils/replayHelpers';
55

66
sentryTest('should capture console messages in replay', async ({ getLocalTestPath, page, forceFlushReplay }) => {
7-
if (shouldSkipReplayTest()) {
7+
// console integration is not used in bundles/loader
8+
const bundle = process.env.PW_BUNDLE || '';
9+
if (shouldSkipReplayTest() || bundle.startsWith('bundle_') || bundle.startsWith('loader_')) {
810
sentryTest.skip();
911
}
1012

0 commit comments

Comments
 (0)