Skip to content

Commit

Permalink
Fix one of flakey test in protocol tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Jan 7, 2024
1 parent ab937ac commit 619c7a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/debug/server_cdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,12 @@ def process
id: SecureRandom.hex
when 'Runtime.terminateExecution'
send_response req
exit
if SESSION.in_subsession?
@q_msg << 'kill!'
else
@q_msg << 'kill!'
pause
end
when 'Page.startScreencast', 'Emulation.setTouchEmulationEnabled', 'Emulation.setEmitTouchEventsForMouse',
'Runtime.compileScript', 'Page.getResourceContent', 'Overlay.setPausedInDebuggerMessage',
'Runtime.releaseObjectGroup', 'Runtime.discardConsoleEntries', 'Log.clear', 'Runtime.runIfWaitingForDebugger'
Expand Down

0 comments on commit 619c7a9

Please sign in to comment.