Skip to content

Commit b8c7188

Browse files
committed
skip bundle integration tests
1 parent 1a3503c commit b8c7188

File tree

1 file changed

+3
-1
lines changed
  • dev-packages/browser-integration-tests/suites/public-api/diagnoseSdkConnectivity

1 file changed

+3
-1
lines changed

dev-packages/browser-integration-tests/suites/public-api/diagnoseSdkConnectivity/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import { sentryTest } from '../../../utils/fixtures';
33
import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../utils/helpers';
44

55
sentryTest('makes a call to sentry.io to diagnose SDK connectivity', async ({ getLocalTestUrl, page }) => {
6-
if (shouldSkipTracingTest()) {
6+
const bundle = process.env.PW_BUNDLE as string | undefined;
7+
if (shouldSkipTracingTest() || !!bundle) {
8+
// the CDN bundle doesn't export diagnoseSdkConnectivity. So skipping the test for bundles.
79
sentryTest.skip();
810
}
911

0 commit comments

Comments
 (0)