test(webviews): dock gutters covers the running-work tray, not the agents pill

Merged
TE
15d ago
+29-40

Summary

agent-pane-dock-gutters.test.ts (added by #23243) timed out on every run at the base tip. #23104 replaced the agents pill with the tray of running work (on by default) and landed after #23243, so the file's setup waited for .acpmux-agents-pill, which never shows, until the runner's 120 s limit.

The file now covers the tray instead:

  • It waits for .acpmux-running-tray and expects it in the stack's order.
  • It checks the tray like the dictation notice. The tray is its own box inset by its margin, so the stack's gutter beside it passes the pointer through and the wheel there scrolls the transcript. The tray takes the pointer, and the wheel over it scrolls nothing.
  • The pill's own list test goes with the pill. The pill shows only with Debug Settings agentPane.debug.subagentTray off.

Test-only; no product code changes.

Changelog

none

Testing

Command: scripts/ci/run-webviews-tests.sh with CMUX_WEB_TEST_FILES=test/agent-pane-dock-gutters.test.ts, as a fleet step (cmux-ci run --class light).

Observed / Not run

  • On #23243's own CI (before #23104 landed) this file passed in about 55 s, cold Vite warm-up included.
  • scripts/web-lint.sh, bun scripts/check-fixed-waits.ts and prepush-gate.py pass locally.
  • Independent review: PASS, nothing blocking (read-only; it ran no tests). Its non-blocking notes: no test covers the tray-off agents pill now, and bottomStack.css still names the pill in two comments.

Agent session: cosmic-gray

🤖 Generated with Claude Code


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


Summary by cubic

Fixes agent-pane-dock-gutters.test.ts timing out on every run by covering the running-work tray instead of the agents pill.

  • The setup waited for .acpmux-agents-pill, which no longer appears since the tray replaced the pill (on by default), so every run hit the 120 s limit.
  • Waits for .acpmux-running-tray, expects it in the stack's order, and checks the tray's gutter pass-through and no-scroll behavior like the dictation notice.
  • Removes the pill's list test, as the pill now shows only with agentPane.debug.subagentTray off.

Test-only; no product code changes.