File tree 1 file changed +3
-3
lines changed
packages/browser-integration-tests/suites/replay/errors/errorsInSession 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ sentryTest(
43
43
const req0 = await reqPromise0 ;
44
44
45
45
await page . click ( '#error' ) ;
46
- await page . click ( '#go-background' ) ;
46
+ await forceFlushReplay ( ) ;
47
47
const req1 = await reqPromise1 ;
48
48
49
49
const event0 = getReplayEvent ( req0 ) ;
@@ -86,7 +86,7 @@ sentryTest(
86
86
87
87
sentryTest (
88
88
'[session-mode] replay event should not contain an error id of a dropped error while recording' ,
89
- async ( { getLocalTestPath, page } ) => {
89
+ async ( { getLocalTestPath, page, forceFlushReplay } ) => {
90
90
if ( shouldSkipReplayTest ( ) ) {
91
91
sentryTest . skip ( ) ;
92
92
}
@@ -108,7 +108,7 @@ sentryTest(
108
108
await reqPromise0 ;
109
109
110
110
await page . click ( '#drop' ) ;
111
- await page . click ( '#go-background' ) ;
111
+ await forceFlushReplay ( ) ;
112
112
const req1 = await reqPromise1 ;
113
113
114
114
const event1 = getReplayEvent ( req1 ) ;
You can’t perform that action at this time.
0 commit comments