Test: an approved live ask's Approved mark is checked once its call ran
This fixes the red that #33408 left on base. In agent-pane-permission-receipt.test.ts, three cases (answered live, the mode switch while the card is open, and resync) checked for the new "Approved" mark while the approved call was still running. During that time the live line draws the call, not its row. Each case now finishes the call (tool_call_update completed) and then checks the mark. No product code changes.
Leo, on the original row: "but what's going on with these?"
Test: bun test test/agent-pane-permission-receipt.test.ts with CMUX_BROWSER_TESTS=1 passes on the fleet.
🤖 Generated with Claude Code
Agent session: agent session
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Fixes the failing tests that #33408 left on the base branch. In agent-pane-permission-receipt.test.ts, three cases (answered live, mode switch while the card is open, and resync) checked for the "Approved" mark while the approved call was still running, when the live line draws the call rather than its row. Each case now finishes the call with a completed tool_call_update before checking the mark. No product code changes.