File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/browser-integration-tests/suites/public-api/captureException/errorEvent Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ import type { Event } from '@sentry/types';
4
4
import { sentryTest } from '../../../../utils/fixtures' ;
5
5
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers' ;
6
6
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
+ }
8
12
const url = await getLocalTestPath ( { testDir : __dirname } ) ;
9
13
10
14
const eventData = await getFirstSentryEnvelopeRequest < Event > ( page , url ) ;
You can’t perform that action at this time.
0 commit comments