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>