File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
packages/integration-tests/suites/public-api/captureMessage/with_level Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { expect } from '@playwright/test' ;
2
2
3
3
import { sentryTest } from '../../../../utils/fixtures' ;
4
- import { getSentryEvents } from '../../../../utils/helpers' ;
4
+ import { getMultipleSentryRequests } from '../../../../utils/helpers' ;
5
5
6
- sentryTest ( 'should capture with different severity levels' , async ( { getLocalTestPath, page } ) => {
6
+ sentryTest . only ( 'should capture with different severity levels' , async ( { getLocalTestPath, page } ) => {
7
7
const url = await getLocalTestPath ( { testDir : __dirname } ) ;
8
8
9
- const events = await getSentryEvents ( page , url ) ;
9
+ const events = await getMultipleSentryRequests ( page , 7 , url ) ;
10
10
11
11
expect ( events [ 0 ] . message ) . toBe ( 'debug_message' ) ;
12
12
expect ( events [ 0 ] . level ) . toBe ( 'debug' ) ;
You can’t perform that action at this time.
0 commit comments