This is an example of the kind of config I've been using to experiment with BackstopJS, a pretty cool visual regression testing tool.
Note: I've only been using this config for individual development testing purposes. If you want to use this in some big CI process or something, you'll probably need to make it a bit more sophisticated. Or maybe it won't even work for you for any purpose at all because the sites I'm working on are different enough from the sites you're working on. Hopefully it can at least give you a good place to start or give you some ideas :)
- Copy the files to an empty directory (or your project). You may also want to put the
onBefore
andonReady
scripts into an appropriate subdirectory and update theengine_scripts
path to point to them. - Set up your scenarios to point to the pages you want to compar