wdio-visual-regression-service
wdio-visual-regression-service copied to clipboard
Mismatch Tolerance doesn't appear to work
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?