Run browser regression safely for school-system. Use when Codex needs to verify real login flows, cohort entry, module switching, local dist smoke, `lt.html` smoke, or production browser regression with Playwright-backed scripts.
Use the repo's existing Playwright-backed smoke scripts before inventing new browser checks.
Read these files first when the task is about browser behavior or live verification:
scripts/smoke-all-modules.jsscripts/run-local-smoke.jspackage.jsoncmd /c npm run validate or at least cmd /c npm run build.dist/ with cmd /c npm run smoke:modules:local.lt.html when single-file delivery matters:
$env:SMOKE_URL='file:///C:/Users/loru/Desktop/system/lt.html'node scripts/smoke-all-modules.js$env:SMOKE_URL='https://schoolsystem.com.cn/'node scripts/smoke-all-modules.jsUse these unless the task clearly needs different credentials or cohort:
$env:SMOKE_USER='admin'
$env:SMOKE_PASS='admin123'
$env:SMOKE_COHORT_YEAR='2022'
dist/ success means production is healthy; run production smoke after deploy.npm run smoke:ai-gateway.dist/ smoke before checking production.