Skip to content

Commit

Permalink
skip in debug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Sep 3, 2024
1 parent 4386e42 commit 3fd1ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { shouldSkipFeedbackTest } from '../../../utils/helpers';
* Even if feedback is included via the CDN, this test ensures that the logger is working correctly.
*/
sentryTest('should log error correctly', async ({ getLocalTestUrl, page }) => {
if (shouldSkipFeedbackTest()) {
// In minified bundles we do not have logger messages, so we skip the test
if (shouldSkipFeedbackTest() || (process.env.PW_BUNDLE || '').includes('_min')) {
sentryTest.skip();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { sentryTest } from '../../../utils/fixtures';
import { shouldSkipReplayTest, waitForReplayRequest } from '../../../utils/replayHelpers';

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

Expand Down

0 comments on commit 3fd1ec5

Please sign in to comment.