diff --git a/testing/scenario_app/bin/run_android_tests.dart b/testing/scenario_app/bin/run_android_tests.dart index d31132fc125a1..e253f85565416 100644 --- a/testing/scenario_app/bin/run_android_tests.dart +++ b/testing/scenario_app/bin/run_android_tests.dart @@ -196,7 +196,8 @@ Future _run({ } if (isSkiaGoldClientAvailable) { final Future comparison = skiaGoldClient! - .addImg(fileName, goldenFile, screenshotSize: screenshot.pixelCount) + // Each color channel can be off by 2. + .addImg(fileName, goldenFile, screenshotSize: screenshot.pixelCount, pixelColorDelta: 8) .catchError((Object error) { logWarning('skia gold comparison failed: $error'); comparisonsFailed++;