Skip to content

[WIP] Runs visual regression tests inside an alpine docker container.

Notifications You must be signed in to change notification settings

olmesm/visual-regression-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Regression Puppet

PRs Welcome

Puppet being stroked

Runs visual regression tests inside a docker container. See blink-diff for more info and examples.

Features

Todo List

Future that here

Running

This should be run in a docker container. The consistent environment will ensure rendered images are uniform across different machines.

Development

# To Run for development
sh scripts/run-dev.sh

Production

# To Run for production
#   First Run
sh scripts/build.sh

# To Run
sh scripts/run.sh

Runninng on mac

Set PATH_CHROMIUM to the location of chromium browser

Webpack

If serving from localhost and using webpack dev server, you'll need to add to your allowedHosts settings;

{
    ...
    devServer: {
        ...
        allowedHosts: ['host.docker.internal']
    }
}

About

[WIP] Runs visual regression tests inside an alpine docker container.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published