fix bad reference to maxDiffRatePercent (flutter/engine#16440)

* fix bad reference to maxDiffRatePercent

* back to 10%
This commit is contained in:
Yegor
2020-02-05 18:49:10 -08:00
committed by GitHub
parent 829529ba4c
commit 617582e744

View File

@@ -29,7 +29,8 @@ void main() async {
try {
sceneElement.append(engineCanvas.rootElement);
html.document.body.append(sceneElement);
await matchGoldenFile('$fileName.png', region: region, maxDiffRate: 0.1);
// TODO(yjbanov): 10% diff rate is excessive. Update goldens.
await matchGoldenFile('$fileName.png', region: region, maxDiffRatePercent: 10);
} finally {
// The page is reused across tests, so remove the element after taking the
// Scuba screenshot.