Skip to content

Conversation

@steve-calvert-glean
Copy link
Contributor

Implements Playwright-based visual regression testing to catch UI regressions in PRs.

What's included:

  • Playwright config with screenshot comparison for all sitemap pages (205 pages)
  • GitHub Action workflow triggered on relevant file changes (src/, docs/, static/, config files)
  • Baseline snapshots stored in Git for easy PR diff review
  • Flaky element hiding (avatars, gifs, timestamps) to reduce false positives

Usage:

  • pnpm test:visual - Run visual regression tests
  • pnpm test:visual:update - Update baselines after intentional UI changes

Workflow:
Runs automatically on PRs when UI-related files change. Failed tests upload artifacts for review.

@steve-calvert-glean steve-calvert-glean requested a review from a team as a code owner November 10, 2025 18:14
@vercel
Copy link

vercel bot commented Nov 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
glean-developer-site Ready Ready Preview Comment Nov 11, 2025 4:27pm

@steve-calvert-glean steve-calvert-glean force-pushed the internal/visual-regression-testing branch from 1715e28 to 2bdc6b6 Compare November 10, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants