Commit graph

4 commits

Author SHA1 Message Date
CJ Cenizal
a1a7fc48c6 Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
CJ Cenizal
9e353fd451 Add visual regression screenshot gallery.
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
CJ Cenizal
0fb84e4696 Take screenshots of UI throughout functional tests. 2016-06-13 11:44:49 -07:00
CJ Cenizal
9fa2e82b31 Add screenshot-comparison utility, to protect against visual regressions during CSS refactors.
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
2016-06-08 15:52:23 -07:00