@@ -308,8 +308,6 @@ await page.WaitForFunctionAsync(
308308
309309 var savedRecording = await page . EvaluateAsync < JsonElement > ( BrowserTestConstants . Media . GetSavedRecordingStateScript ) ;
310310 var savedAnalysis = await page . EvaluateAsync < JsonElement > ( BrowserTestConstants . Media . AnalyzeSavedRecordingScript ) ;
311- Console . WriteLine ( $ "SAVED_RECORDING={ savedRecording . GetRawText ( ) } ") ;
312- Console . WriteLine ( $ "SAVED_ANALYSIS={ savedAnalysis . GetRawText ( ) } ") ;
313311
314312 await Assert . That ( savedRecording . GetProperty ( "pickerCallCount" ) . GetInt32 ( ) >= 1 ) . IsTrue ( ) ;
315313 await Assert . That ( savedRecording . GetProperty ( "sizeBytes" ) . GetInt64 ( ) > 0 ) . IsTrue ( ) ;
@@ -348,24 +346,7 @@ public async Task GoLivePage_AudioTab_ShowsLiveMicrophoneProgramAndRecordingLeve
348346 await Expect ( micChannel )
349347 . ToHaveAttributeAsync ( BrowserTestConstants . GoLive . LiveStateAttributeName , BrowserTestConstants . GoLive . ActiveStateValue ) ;
350348
351- var audioGeneratorCapabilities = await page . EvaluateAsync < string > (
352- "() => `${typeof window.MediaStreamTrackGenerator}|${typeof window.AudioData}`" ) ;
353- Console . WriteLine ( $ "AUDIO_CAPS={ audioGeneratorCapabilities } ") ;
354- var harnessAudioState = await page . EvaluateAsync < string > (
355- "() => JSON.stringify(window.__prompterOneMediaHarness?.getAudioDebugState?.() ?? null)" ) ;
356- Console . WriteLine ( $ "AUDIO_HARNESS_BEFORE={ harnessAudioState } ") ;
357349 await page . GetByTestId ( UiTestIds . GoLive . StartRecording ) . ClickAsync ( ) ;
358- for ( var attempt = 0 ; attempt < 2 ; attempt ++ )
359- {
360- await page . WaitForTimeoutAsync ( 1000 ) ;
361- var harnessState = await page . EvaluateAsync < string > (
362- "() => JSON.stringify(window.__prompterOneMediaHarness?.getAudioDebugState?.() ?? null)" ) ;
363- var debugRuntimeState = await page . EvaluateAsync < JsonElement > (
364- BrowserTestConstants . GoLive . GetRuntimeStateScript ,
365- BrowserTestConstants . GoLive . RuntimeSessionId ) ;
366- Console . WriteLine ( $ "AUDIO_HARNESS[{ attempt } ]={ harnessState } ") ;
367- Console . WriteLine ( $ "AUDIO_DEBUG[{ attempt } ]={ debugRuntimeState . GetRawText ( ) } ") ;
368- }
369350 await page . WaitForFunctionAsync (
370351 BrowserTestConstants . GoLive . RecordingRuntimeAudioLevelsReadyScript ,
371352 new object [ ] { BrowserTestConstants . GoLive . RuntimeSessionId , BrowserTestConstants . GoLive . MinimumActiveLevelPercent } ,
0 commit comments