File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
dev-packages/e2e-tests/test-applications/default-browser Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -859,6 +859,7 @@ jobs:
859859 ' create-remix-app-express' ,
860860 ' create-remix-app-express-legacy' ,
861861 ' create-remix-app-express-vite-dev' ,
862+ ' default-browser' ,
862863 ' node-express-esm-loader' ,
863864 ' node-express-esm-preload' ,
864865 ' node-express-esm-without-loader' ,
Original file line number Diff line number Diff line change 1- import * as Sentry from '@sentry/react ' ;
1+ import * as Sentry from '@sentry/browser ' ;
22
33Sentry . init ( {
4- release : 'e2e-test' ,
54 dsn : process . env . E2E_TEST_DSN ,
6- tunnel : 'http://localhost:3031' ,
75 integrations : [ Sentry . browserTracingIntegration ( ) ] ,
6+ tracesSampleRate : 1.0 ,
7+ release : 'e2e-test' ,
8+ environment : 'qa' ,
9+ tunnel : 'http://localhost:3031' ,
810} ) ;
911
1012document . getElementById ( 'exception-button' ) . addEventListener ( 'click' , ( ) => {
Original file line number Diff line number Diff line change 11import { expect , test } from '@playwright/test' ;
22import { waitForError } from '@sentry-internal/test-utils' ;
33
4- test ( 'Should send correct error event ' , async ( { page } ) => {
4+ test ( 'captures an error' , async ( { page } ) => {
55 const errorEventPromise = waitForError ( 'default-browser' , event => {
66 return ! event . type && event . exception ?. values ?. [ 0 ] ?. value === 'I am an error!' ;
77 } ) ;
You can’t perform that action at this time.
0 commit comments