mirror of
https://github.com/block/buzz.git
synced 2026-11-10 11:21:05 +00:00
Radix UI components animate in via CSS transitions. Playwright's toBeVisible() resolves mid-animation, producing greyed-out or partially-rendered screenshots. - Create shared waitForAnimations(page) utility in tests/helpers/animations.ts - Wire it into screenshot.mjs so the just desktop-screenshot path settles animations automatically before capture - Update reminders-screenshots.spec.ts to call waitForAnimations before every page.screenshot(), add clip regions for focused captures - Update AGENTS.md to reference the shared helper as mandatory Co-authored-by: Will Pfleger <wpfleger@block.xyz> Signed-off-by: Will Pfleger <wpfleger@block.xyz>