buzz icon indicating copy to clipboard operation
buzz copied to clipboard

test(desktop): await thread scroll anchor

Open cameronhotchkies opened this issue 4 months ago • 0 comments

Why

The focus/split E2E test could capture the thread root before its programmatic middle-thread scroll had settled, then incorrectly report a scroll-restoration failure.

What

  • Poll until the requested middle-thread scroll position is applied
  • Require the captured anchor to intersect the thread viewport and differ from the root
  • Preserve the existing focus-to-split-to-focus viewport assertions

Risk Assessment

Low — test-only synchronization change with no production behavior changes.

References

  • Original failure: https://github.com/block/buzz/actions/runs/30231271427/job/89870533541
  • Buzz thread: buzz://message?channel=12dd513d-45fd-48ff-80ac-8596d2fcc9d3&id=87ce6024b4bf74bfac2fa75d9f7bbbcc8f8fe2df460afe534152c495929f51ba
  • Reproduced confidence: 20 consecutive targeted passes, full spec pass, just desktop-ci, and just ci

Generated with Codex

cameronhotchkies avatar Jul 27 '26 18:07 cameronhotchkies