Skip to content

Visual regression testing for critical claim-flow UI states #543

Description

@phertyameen

Location

frontend/e2e/ or frontend/visual-tests/ (new)

Problem

The claim flow's distinct states (pending, success, error, expired, already-claimed) are exactly the kind of UI where a subtle unintended visual regression (e.g. a broken layout hiding the actual claim amount, or an error state that doesn't visually read as an error) could go unnoticed by functional tests alone while still meaningfully harming a real recipient's experience.

Acceptance Criteria

  • Visual regression tooling (e.g. Playwright's screenshot comparison, Chromatic, or equivalent) covers each distinct claim-flow UI state
  • Wired into CI, flagging (not necessarily hard-blocking without review) any pixel-level diff for human confirmation
  • Baseline update process documented so legitimate intentional design changes don't cause permanent CI friction

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions