Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 792 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 792 Bytes

Nightwatch Diff

Write simple UI integration tests with NightwatchJS and run visual diffs against a baseline for catching regressions.

Thanks to richard-flosi for the screenshot comparison stuff.

Getting started

Clone this repository, and run npm install to install dependencies. You'll need to install Grunt if you haven't already.

Running tests

Run tests from your command line with grunt.

Tests are located within /test. This repo comes with a simple demo test that visits google.com and takes a screenshot. For more involved tests, checkout the Nightwatch documentation.