fix(cua): explicitly prohibit stray taps after sending — stray tap navigates away from session and breaks SSE

This commit is contained in:
Dennis V
2026-06-22 23:04:17 +00:00
parent b0851b5d47
commit c5f90ee3c0

View File

@@ -800,9 +800,12 @@ SMOKE_SCENARIOS = [
"Do NOT press back (it navigates away). " "Do NOT press back (it navigates away). "
"Tap the send/arrow button (bottom-right) to submit the task. " "Tap the send/arrow button (bottom-right) to submit the task. "
"After sending, wait and watch — opencode will think and then produce code. " "After sending, wait and watch — opencode will think and then produce code. "
"CRITICAL: Do NOT tap anywhere on the screen after tapping send. "
"The screen will show 'Thinking...' or 'Working...' — this is expected. "
"Any tap will navigate away from the session and break the connection. "
"Wait up to 120 seconds total for the session to complete " "Wait up to 120 seconds total for the session to complete "
"(look for file creation messages, a summary from assistant, or 'idle' status). " "(look for file creation messages, a summary from assistant, or 'idle' status). "
"Re-check every 15 seconds by looking at the screen. " "Re-check every 15 seconds by looking at the screen — do NOT tap, just look. "
"Take a screenshot showing the final result (the completed code or success summary). " "Take a screenshot showing the final result (the completed code or success summary). "
"Report success if you see evidence of both helloworld.py and helloworld_test.py being created. " "Report success if you see evidence of both helloworld.py and helloworld_test.py being created. "
"Report failure only if the screen clearly shows an error with no recovery." "Report failure only if the screen clearly shows an error with no recovery."