Skip to content

Commit 519d4b9

Browse files
committed
skip test on FF
1 parent 3857456 commit 519d4b9

File tree

1 file changed

+5
-1
lines changed
  • packages/browser-integration-tests/suites/public-api/captureException/errorEvent

1 file changed

+5
-1
lines changed

packages/browser-integration-tests/suites/public-api/captureException/errorEvent/test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should capture an ErrorEvent', async ({ getLocalTestPath, page }) => {
7+
sentryTest('should capture an ErrorEvent', async ({ getLocalTestPath, page, browserName }) => {
8+
// On Firefox, the ErrorEvent has the `error` property and thus is handled separately
9+
if (browserName === 'firefox') {
10+
sentryTest.skip();
11+
}
812
const url = await getLocalTestPath({ testDir: __dirname });
913

1014
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);

0 commit comments

Comments
 (0)