@@ -4,13 +4,14 @@ import { sentryTest } from '../../../../utils/fixtures';
44import { envelopeRequestParser , getEnvelopeType } from '../../../../utils/helpers' ;
55import { getCustomRecordingEvents , getReplayEvent , waitForReplayRequest } from '../../../../utils/replayHelpers' ;
66
7- sentryTest ( 'should capture feedback (@sentry-internal/feedback import)' , async ( { getLocalTestPath, page } ) => {
7+ sentryTest ( 'should capture feedback (@sentry-internal/feedback import)' , async ( { forceFlushReplay , getLocalTestPath, page } ) => {
88 if ( process . env . PW_BUNDLE ) {
99 sentryTest . skip ( ) ;
1010 }
1111
1212 const reqPromise0 = waitForReplayRequest ( page , 0 ) ;
1313 const reqPromise1 = waitForReplayRequest ( page , 1 ) ;
14+ const reqPromise2 = waitForReplayRequest ( page , 2 ) ;
1415 const feedbackRequestPromise = page . waitForResponse ( res => {
1516 const req = res . request ( ) ;
1617
@@ -54,6 +55,7 @@ sentryTest('should capture feedback (@sentry-internal/feedback import)', async (
5455 if ( breadcrumbs . length === 0 ) {
5556 console . log ( getReplayEvent ( replayReq0 ) , getReplayEvent ( replayReq1 ) ) ;
5657 console . log ( getCustomRecordingEvents ( replayReq0 ) , getCustomRecordingEvents ( replayReq1 ) ) ;
58+ console . log ( getCustomRecordingEvents ( await reqPromise2 ) ) ;
5759 }
5860
5961 expect ( breadcrumbs ) . toEqual (
0 commit comments