Skip to content

Feature Request: Visual Regression Testing for CSS implementation Changes #776

Description

@gitsomebit

Problem

Currently, changes to CSS can unintentionally introduce visual regressions that are hard to detect during code review. Since styling issues often don’t break functionality, they can slip through unnoticed until later stages or even production.

Proposed Solution

Introduce a visual regression testing setup that allows us to detect unintended UI changes when modifying CSS.

Suggested Approach

  • Maintain a collection of representative HTML/CSS examples (components, layouts, edge cases).
  • Render these files to images (snapshots) as part of the test process.
  • Store baseline images in the repository.
  • On each change, re-render and compare new images against the baseline.
  • Flag differences beyond a defined threshold.

Additional Notes

Consider CI integration so checks run automatically on PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions