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.
If you want to learn how it works, follow the instructions on my blog.
- create the folder
screenshots/current
andscreenshots/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
If you like fast itterations and state of the art technologies to build a meanful application, come work with us.