Visual Regression testing with Webdrivercss.
- install mocha globally (you can also install it locally, if needed)
$ npm install -g mocha
- Webdrivercss requires Graphicsmagick for image processing.
# Mac
$ brew install graphicsmagick
# Ubuntu
$ sudo apt-get install graphicsmagick
- Download Selenium Server standalone and run it:
$ java -jar selenium-server-standalone-2.48.2.jar &> /dev/null &
- Clone this repo. Open a shell inside the folder and install dependencies:
$ npm install
- Run the tests:
$ mocha