diff --git a/.github/workflows/backstop-sanity-test.yml b/.github/workflows/backstop-sanity-test.yml index 0fcedf62d..c1cf1ba9f 100644 --- a/.github/workflows/backstop-sanity-test.yml +++ b/.github/workflows/backstop-sanity-test.yml @@ -50,8 +50,6 @@ jobs: 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 else echo "# ✅ Puppeteer Sanity Report Valid" >> $GITHUB_STEP_SUMMARY fi @@ -114,14 +112,12 @@ 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 "PLAYWRIGHT_TEST_RESULT=$PLAYWRIGHT_TEST_RESULT" >> $GITHUB_ENV if [[ $PLAYWRIGHT_TEST_RESULT != "" ]]; then + echo "# ❎ Playwright Sanity Report Different" >> $GITHUB_STEP_SUMMARY echo '```diff' >> $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 else echo "# ✅ Playwright Sanity Report Valid" >> $GITHUB_STEP_SUMMARY - echo "# ❎ Playwright Sanity Report Different" >> $GITHUB_STEP_SUMMARY fi - name: "Full Sanity Report Diff" diff --git a/core/command/test.js b/core/command/test.js index f29eca958..07063f4c6 100644 --- a/core/command/test.js +++ b/core/command/test.js @@ -6,17 +6,17 @@ const { shouldRunDocker, runDocker } = require('../util/runDocker'); module.exports = { execute: function (config) { const executeCommand = require('./index'); - if (shouldRunDocker(config)) { - return runDocker(config, 'test') - .finally(() => { - if (config.openReport && config.report && config.report.indexOf('browser') > -1) { - executeCommand('_openReport', config); - } - }); - } else { - return createBitmaps(config, false).then(function () { - return executeCommand('_report', config); - }); - } + // if (shouldRunDocker(config)) { + // return runDocker(config, 'test') + // .finally(() => { + // if (config.openReport && config.report && config.report.indexOf('browser') > -1) { + // executeCommand('_openReport', config); + // } + // }); + // } else { + // return createBitmaps(config, false).then(function () { + // // return executeCommand('_report', config); + // }); + // } } };