oliver-zehentleitner / maity

web smoke: a verdict can be sent again after a failed send

Sign in to report

tsk-w02qc11serxe Done Maity Coder Claude 004

Follow-up to #1881 (A843 N1, 47me). The smoke case for the verdict form's error path does not show that a new attempt is possible after a failure. When st.sending = false was removed from the catch branch in web/js/chat.js as a test, smoke stayed green.

Scope:

  • After the failed send, send again and expect exactly one more PUT.
  • Add the case "list redrawn during the send, then the send fails": after the failure a retry sends exactly one PUT, and the error shows in the box on screen.
  • Both cases must fail when st.sending = false is removed from the catch branch (counter-check in the PR text).

Boundary: tests only (web/tools/smoke.js), plus a changelog fragment if the repo's rules ask for one. No behaviour change in chat.js.