If you have an AngularJS App with UI Router, accessible on http://localhost:8100, you can use this tool to take a screenshot of every definied state and compare it with saved screenshots.
Wow, thats useful for pixel perfect frontend implementations! Juhu.
- create the folder
screenshots/currentandscreenshots/reference - run
npm install - install a selenium server manager
npm install selenium-standalone@latest -g - install a selenium server
selenium-standalone install
- start the selenium server
selenium-standalone start - start the project you want to test, e.g. your ionic application
ionic serve - start the screenshot runner
node run.js
- start the node server
node index.js - goto http://localhost:4040