未验证 提交 07f25c51 编写于 作者: Y Yegor 提交者: GitHub

fix bad reference to maxDiffRatePercent (#16440)

* fix bad reference to maxDiffRatePercent

* back to 10%
上级 76b291a6
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册