diff --git a/.github/workflows/backstop-sanity-test.yml b/.github/workflows/backstop-sanity-test.yml index b1cf71e2e..8a62920da 100644 --- a/.github/workflows/backstop-sanity-test.yml +++ b/.github/workflows/backstop-sanity-test.yml @@ -39,7 +39,7 @@ jobs: - name: "Validate Test Results" run: | - diff -q <(jq -S ". | del(.tests[].pair.test, .tests[].pair.testLog, .tests[].pair.diffImage, .tests[].pair.analysisTime, .tests[].pair.misMatchPercentage, .tests[].pair.rawMisMatchPercentage)" test/__fixtures__/sanity-test.json) \ + diff -c <(jq -S ". | del(.tests[].pair.test, .tests[].pair.testLog, .tests[].pair.diffImage, .tests[].pair.analysisTime, .tests[].pair.misMatchPercentage, .tests[].pair.rawMisMatchPercentage)" test/__fixtures__/sanity-test.json) \ <(jq -S ". | del(.tests[].pair.test, .tests[].pair.testLog, .tests[].pair.diffImage, .tests[].pair.analysisTime, .tests[].pair.misMatchPercentage, .tests[].pair.rawMisMatchPercentage)" test/configs/backstop_data/bitmaps_test/**/report.json) if [[ $? == "0" ]]; then exit 0