HuddleEng / PhantomCSS

Visual/CSS regression testing with PhantomJS
MIT License
4.72k stars 259 forks source link

Add option to fail on capture error and fn hook #197

Closed matt-in-a-hat closed 7 years ago

matt-in-a-hat commented 7 years ago

Adds failOnCaptureError option, to make the casperjs tests fail if any screenshots fail to capture.

Adds onCaptureFail function hook to customise what happens on screenshot fail.

Addresses https://github.com/Huddle/PhantomCSS/issues/188

jamescryer commented 7 years ago

Thanks