Skip to content

madasamybe/visual-regression-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual regression testing with React and Backstop Js

A visual regression test checks what the user will see after any code changes have been executed by comparing screenshots taken before and after code changes.

Step by step guide to setup visual regression

Please check this article for setting up backstop configuration

https://dev.to/madasamybe/visual-regression-testing-with-backstop-js-4i7i

Steps to run this app

  • Clone the repository
  • cd inside folder
  • npm i
  • npm run start - to see the basic h1 title

How to check visual changes

  • npm run backstop:test - Once changes are made, running this command will display the comparison of between old and new change as below.
  • npm run backstop:approve - If the changes are intentional, running this command will update the reference screenshot in the app.

Backstop report

About

Visual regression testing of UI with basic react login form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published