We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15fdf3b commit 9cefa10Copy full SHA for 9cefa10
e2e/Utils.js
@@ -36,7 +36,7 @@ const utils = {
36
sleep: (ms) => new Promise((res) => setTimeout(res, ms)),
37
expectImagesToBeEqual: (imagePath, expectedImagePath) => {
38
let diff = bitmapDiff(imagePath, expectedImagePath);
39
- if (diff !== 0) {
+ if (diff > 7000) {
40
throw Error(`${imagePath} should be the same as ${expectedImagePath}, with diff: ${diff}`);
41
}
42
},
0 commit comments