Use npm run e2e instead of npx playwright in the smoke container
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user