From 9b29cd20274e037879ece0ad54b56a609c23e5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Wed, 19 Mar 2025 10:38:04 +0100 Subject: [PATCH] chore(core/tests): add green to UI diff [no changelog] --- tests/ui_tests/reporting/testreport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui_tests/reporting/testreport.js b/tests/ui_tests/reporting/testreport.js index 6c108a4de0..1659319dce 100644 --- a/tests/ui_tests/reporting/testreport.js +++ b/tests/ui_tests/reporting/testreport.js @@ -213,7 +213,7 @@ function createRowDiff(row) { // Process differences const difData = difCtx.createImageData(width, height); - options = {threshold: 0.0, includeAA: true}; + options = {threshold: 0.0, includeAA: true, diffColorAlt: [0, 255, 0]}; pixelmatch(recData.data, curData.data, difData.data, width, height, options); difCtx.putImageData(difData, 0, 0);