diff --git a/.github/workflows/backstop-sanity-test.yml b/.github/workflows/backstop-sanity-test.yml index 98297b9f9..d212027cf 100644 --- a/.github/workflows/backstop-sanity-test.yml +++ b/.github/workflows/backstop-sanity-test.yml @@ -1,4 +1,4 @@ -name: Backstop Sanity Tests +name: Backstop Sanity Test Checks on: workflow_dispatch: @@ -46,15 +46,17 @@ jobs: <(jq 'walk(if type == "object" then with_entries(.value |= if type == "object" or type == "array" then . else "" end) else . end)' test/configs/backstop_data/bitmaps_test/**/report.json)) echo "PUPPETEER_TEST_RESULT=$PUPPETEER_TEST_RESULT" >> $GITHUB_ENV if [[ $PUPPETEER_TEST_RESULT == "0" ]]; then - echo "# ✅ Puppeteer Sanity Test Valid" >> $GITHUB_STEP_SUMMARY + echo "# ✅ Puppeteer Sanity Report Valid" >> $GITHUB_STEP_SUMMARY else echo "# ❎ Puppeteer Sanity Different" >> $GITHUB_STEP_SUMMARY echo '```diff' >> $GITHUB_STEP_SUMMARY echo "${PUPPETEER_TEST_RESULT}" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY + echo "# More" >> $GITHUB_STEP_SUMMARY + echo "$PUPPETEER_TEST_RESULT" >> $GITHUB_STEP_SUMMARY fi - - name: "Full Sanity Test Diff" + - name: "Full Sanity Report Diff" id: diff continue-on-error: true run: | @@ -118,11 +120,13 @@ jobs: else echo "# ❎ Playwright Sanity Report Different" >> $GITHUB_STEP_SUMMARY echo '```diff' >> $GITHUB_STEP_SUMMARY - echo "```${PLAYWRIGHT_TEST_RESULT}" >> $GITHUB_STEP_SUMMARY + echo "${PLAYWRIGHT_TEST_RESULT}" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY + echo "# More" >> $GITHUB_STEP_SUMMARY + echo "$PLAYWRIGHT_TEST_RESULT" >> $GITHUB_STEP_SUMMARY fi - - name: "Full Sanity Test Diff" + - name: "Full Sanity Report Diff" id: diff continue-on-error: true run: |