Skip to content

Commit

Permalink
1.9.2 fix bug with default skip failure option (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
puneet0191 authored Jul 8, 2020
1 parent 99b6845 commit b2318db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class ResembleHelper extends Helper {

this.debug("MisMatch Percentage Calculated is " + misMatch + " for baseline " + baseImage);

if (options.skipFailure === false) {
if (!options.skipFailure) {
assert(misMatch <= options.tolerance, "Screenshot does not match with the baseline " + baseImage + " when MissMatch Percentage is " + misMatch);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeceptjs-resemblehelper",
"version": "1.9.1",
"version": "1.9.2",
"description": "Resemble Js helper for CodeceptJS, with Support for Webdriver, Puppeteer & Appium",
"repository": {
"type": "git",
Expand Down

0 comments on commit b2318db

Please sign in to comment.