diff --git a/tests/ui_tests/reporting/testreport.js b/tests/ui_tests/reporting/testreport.js index 1659319dce..960bb388c5 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, diffColorAlt: [0, 255, 0]}; + options = {threshold: 0.0, includeAA: true, diffColor: [0, 255, 0], diffColorAlt: [255, 0, 0]}; pixelmatch(recData.data, curData.data, difData.data, width, height, options); difCtx.putImageData(difData, 0, 0);