Files
buzz/desktop/tests
Matt Toohey a69bd09b01 test(desktop): stabilize chip-wrap measurement against row re-render
The composer Buzz chip smoke test forced the sent message row's container
to 220px with a one-shot inline style, then measured line fragments in a
separate evaluate. When the relay echo re-creates the optimistic row
between those steps, the style is lost and the chip never wraps, failing
CI (all three attempts on Desktop Smoke E2E shard 3). Apply the width and
measure atomically inside an expect.poll, and re-apply it when reading
fragment rects for the tooltip checks, so a late re-render can no longer
strand the measurement.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
2026-09-24 11:39:57 +10:00
..