diff --git a/tests/e2e/compare/compare.js b/tests/e2e/compare/compare.js index 3be7abc91188..29a2a269aa1e 100644 --- a/tests/e2e/compare/compare.js +++ b/tests/e2e/compare/compare.js @@ -107,7 +107,8 @@ function compareResults(compareEntries, baselineEntries) { } module.exports = (main, delta, outputFile, outputFormat = 'all') => { - const outputData = compareResults(main, delta); + // IMPORTANT NOTE: make sure you are passing the delta/compare results first, then the main/baseline results: + const outputData = compareResults(delta, main); if (outputFormat === 'console' || outputFormat === 'all') { printToConsole(outputData);