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 bdfb8fc commit fdbbe6fCopy full SHA for fdbbe6f
showcases/e2e/default.ts
@@ -125,6 +125,9 @@ export const getDefaultScreenshotTest = ({
125
config.maxDiffPixelRatio = 0.033;
126
} else if (isAngular(showcase)) {
127
config.maxDiffPixels = 1000;
128
+ } else if (project.name.startsWith('mobile')) {
129
+ // Mobile Chrome can have minor anti-aliasing/layout differences; allow small ratio
130
+ config.maxDiffPixelRatio = 0.015;
131
} else {
132
config.maxDiffPixels = 120;
133
}
0 commit comments