File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/browser-integration-tests/suites/replay/errors/errorsInSession Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ sentryTest(
4343 const req0 = await reqPromise0 ;
4444
4545 await page . click ( '#error' ) ;
46- await page . click ( '#go-background' ) ;
46+ await forceFlushReplay ( ) ;
4747 const req1 = await reqPromise1 ;
4848
4949 const event0 = getReplayEvent ( req0 ) ;
@@ -86,7 +86,7 @@ sentryTest(
8686
8787sentryTest (
8888 '[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 } ) => {
9090 if ( shouldSkipReplayTest ( ) ) {
9191 sentryTest . skip ( ) ;
9292 }
@@ -108,7 +108,7 @@ sentryTest(
108108 await reqPromise0 ;
109109
110110 await page . click ( '#drop' ) ;
111- await page . click ( '#go-background' ) ;
111+ await forceFlushReplay ( ) ;
112112 const req1 = await reqPromise1 ;
113113
114114 const event1 = getReplayEvent ( req1 ) ;
You can’t perform that action at this time.
0 commit comments