Skip to content

Commit 3fd1ec5

Browse files
committed
skip in debug tests
1 parent 4386e42 commit 3fd1ec5

File tree

2 files changed

+4
-2
lines changed
  • dev-packages/browser-integration-tests/suites

2 files changed

+4
-2
lines changed

dev-packages/browser-integration-tests/suites/feedback/logger/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { shouldSkipFeedbackTest } from '../../../utils/helpers';
88
* Even if feedback is included via the CDN, this test ensures that the logger is working correctly.
99
*/
1010
sentryTest('should log error correctly', async ({ getLocalTestUrl, page }) => {
11-
if (shouldSkipFeedbackTest()) {
11+
// In minified bundles we do not have logger messages, so we skip the test
12+
if (shouldSkipFeedbackTest() || (process.env.PW_BUNDLE || '').includes('_min')) {
1213
sentryTest.skip();
1314
}
1415

dev-packages/browser-integration-tests/suites/replay/logger/test.ts

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

66
sentryTest('should output logger messages', async ({ getLocalTestPath, page }) => {
7-
if (shouldSkipReplayTest()) {
7+
// In minified bundles we do not have logger messages, so we skip the test
8+
if (shouldSkipReplayTest() || (process.env.PW_BUNDLE || '').includes('_min')) {
89
sentryTest.skip();
910
}
1011

0 commit comments

Comments
 (0)