浏览代码

Reduce screenshot test tolerance to 0.1%

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 5 月之前
父节点
当前提交
3200a16f81
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -468,7 +468,7 @@ if (shotTest) {
         showOnlyFailingTestsInReports = ciBuild
         showOnlyFailingTestsInReports = ciBuild
         // CI environment renders some shadows slightly different from local VMs
         // CI environment renders some shadows slightly different from local VMs
         // Add a 0.5% tolerance to account for that
         // Add a 0.5% tolerance to account for that
-        tolerance = ciBuild ? 0.5 : 0
+        tolerance = ciBuild ? 0.1 : 0
     }
     }
 }
 }