test: fold-keeps-place opens the "Received 3 messages" row first (base red)

Merged
TE
5d ago
+5-0

Base red since #32720: webviews/test/agent-pane-fold-keeps-place.test.ts (both tests) timed out waiting for fanout-infra's .cv-disclosure__toggle. #32720 folds the three delivered lines next to each other in gallery agent-pane.incoming-message-disclosure into one closed "Received 3 messages" row, so that line never drew. open() now opens the row first. This is a test-only change.

Observed / Not run

Observed: on the fleet, bun test test/agent-pane-fold-keeps-place.test.ts test/incoming-message-disclosure-browser.test.ts passes at this head. It timed out on base (bisected: passes at 1923ed18675, fails at the tip).
Not run: the wider suite.

Changelog

none

Agent session: agent session

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the agent-pane fold-keeps-place tests timing out on base red since #32720, which folds three delivered lines into a single closed "Received 3 messages" row so the fanout-infra toggle never rendered. The test now opens that row before waiting for the toggle.