wdio-visual-regression-service icon indicating copy to clipboard operation
wdio-visual-regression-service copied to clipboard

Mismatch Tolerance doesn't appear to work

Open nijk opened this issue 4 years ago • 0 comments

When using misMatchTolerance in config I'm still seeing errors reported for mismatches below the tolerance threshold:

Config

{
  visualRegression: {
    compare: new VisualRegressionCompare.LocalCompare({
      referenceName: ...
      screenshotName: ...
      diffName: ...
      misMatchTolerance: 0.1,
    }),
    viewportChangePause: 500,
    orientations: ['portrait'],
  },
}

Test output

Error: Screenshots mismatched by 0.04%

It appears that misMatchTolerance is not working, can anyone confirm this?

nijk avatar Apr 15 '20 08:04 nijk