Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { sentryTest } from '../../../utils/fixtures';
import { getCustomRecordingEvents, shouldSkipReplayTest, waitForReplayRequest } from '../../../utils/replayHelpers';

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

Expand Down Expand Up @@ -57,9 +55,7 @@ sentryTest('should capture console messages in replay', async ({ getLocalTestPat
});

sentryTest('should capture very large console logs', async ({ getLocalTestPath, page, forceFlushReplay }) => {
// console integration is not used in bundles/loader
const bundle = process.env.PW_BUNDLE || '';
if (shouldSkipReplayTest() || bundle.startsWith('bundle_') || bundle.startsWith('loader_')) {
if (shouldSkipReplayTest()) {
sentryTest.skip();
}

Expand Down