Use npm run e2e instead of npx playwright in the smoke container
Some checks failed
CI / build-and-push (push) Successful in 39s
CI / deploy-qa (push) Successful in 11s
CI / smoke-qa (push) Failing after 13s

npx resolved the registry's generic "playwright" package instead of the
locally installed @playwright/test bin, triggering an unwanted fresh install
and "No tests found". npm run e2e uses the project's own node_modules/.bin
unambiguously.
This commit is contained in:
2026-07-04 18:36:37 -07:00
parent aeb4f03627
commit cff98b5df4

View File

@@ -42,6 +42,6 @@ docker run --rm \
-e "E2E_BASE_URL=$BASE_URL" \
-v "$CI_ROOT:/work" -w /work/src/admin \
"mcr.microsoft.com/playwright:v${PW_VERSION}-noble" \
npx playwright test
npm run e2e
log "smoke-qa.sh complete - QA environment validated end to end"