diff --git a/tests/report_cypress_accessibility_errors.js b/tests/report_cypress_accessibility_errors.js index 59f09b9819..c2319e0827 100644 --- a/tests/report_cypress_accessibility_errors.js +++ b/tests/report_cypress_accessibility_errors.js @@ -101,7 +101,7 @@ const getText = (violations) => { }) .join("\n"); return `${token} -## Cypress Accessibility Test Failures +## Cypress Accessibility Violations ${text} diff --git a/tests/scripts/cypress-parallel-tests.sh b/tests/scripts/cypress-parallel-tests.sh index 522fb0e04a..0cb50ec7d6 100755 --- a/tests/scripts/cypress-parallel-tests.sh +++ b/tests/scripts/cypress-parallel-tests.sh @@ -7,8 +7,6 @@ set -x repo_root="$(git rev-parse --show-toplevel)" pushd "${repo_root}" > /dev/null -: "${GITHUB_COMMENT_TYPE:=unset}" - [ -d node_modules ] || npm install ./node_modules/.bin/cypress install @@ -18,16 +16,7 @@ npm run test:cypress:verify npm run test:cypress:parallel -- "${@}" exit_code=$? -accessibility_violations=$( /dev/null