You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (options.skipFailure === false) {
assert(misMatch <= options.tolerance, "Screenshot does not match with the baseline " + baseImage + " when MissMatch Percentage is " + misMatch);
}
As the previous code snippet shows, since the options.skipFailure is undefined, the comparison would always return false. Because of this, the assert would never run, and the pipeline passes even when the tolerance is clearly over the threshold.
Please define false as default, because previously the assert run automatically, did not depend on the value of skipFailure.