Skip to content

papaponmx/visual-regresion-test

Repository files navigation

Visual Regresion Test

Why?

This project contains all the code for the post.

Relevant Links:

Run Project in 3 steps

yarn yarn start yarn vrt

Project structure

app
├── src
│   └── App.js         # The single component we'll render.
├── scripts
    └── visual-regresion-test
        ├──|actions    # All the DOM traversing functions.
        |  └──getPageScreenshot.js
        |  └──generateDateString.js
        |  └──compareScreenshots.js
        ├── images     # Here we will store our evidence.
        ├── index.js  # The main script were we will run our tests.   
        ├── config.json # For the url, viewport sizes, etc.   

License

This project is licensed under the terms of the MIT license.

About

This all the code for a post on dev.to/papaponmx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published