Feature Description
Capture baseline screenshots for all major popup screens and add a Playwright visual regression check that fails on unexpected UI changes.
Problem Statement
There is no visual regression testing. UI changes can inadvertently break the layout of the popup or approval screens without tests catching it.
Proposed Solution
- Add
playwright.visual.config.ts with screenshot baseline configuration
- Capture baselines for: unlock screen, home/balance screen, send form, review screen, grant-access, sign-transaction, session keys list
- Add
toMatchSnapshot() assertions in new tests/e2e/visual.spec.ts
- Run on CI with
--update-snapshots flag on baseline refresh PRs
- Store baselines in
tests/e2e/snapshots/ committed to repo
Impact Area
Priority
Implementation Complexity
Feature Description
Capture baseline screenshots for all major popup screens and add a Playwright visual regression check that fails on unexpected UI changes.
Problem Statement
There is no visual regression testing. UI changes can inadvertently break the layout of the popup or approval screens without tests catching it.
Proposed Solution
playwright.visual.config.tswith screenshot baseline configurationtoMatchSnapshot()assertions in newtests/e2e/visual.spec.ts--update-snapshotsflag on baseline refresh PRstests/e2e/snapshots/committed to repoImpact Area
Priority
Implementation Complexity