/website-visual-testing

Take automatic screenshots of your web pages and do your own visual regression tests using Node, Jest and Puppeteer headless browser

Primary LanguageTypeScriptMIT LicenseMIT

website-visual-testing

Take automatic screenshots of your web pages and do your own visual regression tests using Node, Jest and Puppeteer headless browser

Introduction

This is the basic first version of the project. For the moment, it should be considered as a quick demo and a proof of concept. I'll work on proper documenting what is already there and improvement the code as soon as I have a bit of time.

Meanwhile, you can watch this demo and explanation video A quick demo video of how to take automatic screenshots and do visual regressions with Puppeteer

How to use this

  • Install NodeJS and Yarn
  • Download or clone the repo
  • Customize the config files located in ./config/
  • Run "yarn install" to install all the dependencies
  • Run "yarn run test" to execute all the tests

Changelog

  • v0.1.3 - 17 oct 2019 - Use https in the Readme markdown instead of http
  • v0.1.2 - 17 oct 2019 - Fix the Readme markdown for the YouTube video
  • v0.1.1 - 17 oct 2019 - Add basic documentation to the Readme file
  • v0.1 - 15 oct 2019 - First demo
  • v0 - 14 oct 2019 - Initial commit