Visual regression testing on pull requests

Visual regression testing catches a pull request that breaks how a screen looks before it merges: a label cut off, a hint unreadable in dark mode, a button pushed off the edge on a phone. ProcessControl does it without baseline screenshots. On each pull request it tests, an agent opens your app at that commit on a machine of its own and checks every screen it looks at against your UI standards. The verdict lands on the commit as a GitHub check that links to what it saw, such as screenshots and a screen recording.

Your standards, not a pile of baselines

Most visual regression tools compare new screenshots with approved ones, pixel by pixel. Every intended change is a diff someone has to approve, and every screen you want covered needs a story or a test that renders it.

ProcessControl starts from the rules your team already holds its interface to, written in plain words:

  • Text is never cut off.
  • Text is readable in both themes.
  • Every destructive action asks for confirmation.

The tester checks each screen against them and shows exactly where a screen breaks one. You choose whether a violation fails the test or is only reported.

The flows the change touches

The tester uses your app the way a person would: it clicks through the flows the pull request touches and checks the screens it looks at along the way. Web pages are checked in a desktop window and, when the product supports phones, at a phone size.

It also tests what the pull request says it does. Each claim it finds in the title and description gets its own verdict, with evidence such as screenshots to back it up.

Nothing to set up per screen

Install the GitHub App and pick the repositories. Test every ready pull request and retest its latest commit after a push or an edit to its title or description, or only the ones where a collaborator with write access starts a comment with @processcontrol-app. The tester learns how to build and start your app on its first runs and keeps what worked for the repository's later runs. There are no stories, snapshot calls or baseline images to maintain.

To keep an eye on a branch between pull requests, turn on scheduled UI audits. A failing audit can open an issue in GitHub Issues, Linear or Jira, and a passing one closes it.

See how ProcessControl compares with Chromatic and Percy.