Nxtgauge Frontend
|
All checks were successful
build-and-release / build (push) Successful in 2m25s
The e2e suite only ever worked against a local docker-compose stack: - Hardcoded http://localhost:3000 / :9100 everywhere, ignoring TEST_ENV=production and playwright.config.ts's own baseURL logic. - /api/auth/login and /api/auth/register now require solving a math captcha first; none of these tests sent captcha_id/captcha_answer, so every login/register call 422'd against the live API. - OTP retrieval shelled out to a local, unauthenticated redis-cli, which can't reach the real (kubectl-exec + password-protected) Redis. - Several files launched their own chromium.launch({headless: false}), which crashes immediately on a server with no X display. - One file had a hardcoded macOS absolute path for screenshots. Added tests/e2e/helpers/{env,captcha,otp,auth-flow}.ts as shared, reusable fixes for all of the above, and updated every affected spec file to use them. Verified via a full run against test111.nxtgauge.com: 971 schemathesis-adjacent smoke assertions aside, the actual signal here is 0 of the 130 prior failures came from real product bugs - all were this environment mismatch. See docs/LIVE_SERVER_RUNBOOK.md step 5. Also fixes .gitignore: it excluded 'playwright-report' (singular) but playwright.config.ts's actual outputFolder is 'playwright-reports' (plural) - generated HTML report artifacts had been getting committed by accident. Untracked the existing ones; left tests/e2e/visual/*-snapshots/ (newly-generated visual regression baselines from this run) untracked for now since establishing baselines needs a human look, not a blind commit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .forgejo | ||
| .gitea/workflows | ||
| .github/workflows | ||
| .playwright-cli | ||
| .storybook | ||
| docs | ||
| output/playwright | ||
| public | ||
| src | ||
| test-videos | ||
| tests | ||
| .dockerignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| COMMON_PAGES_STATUS.md | ||
| dashboard-sidebar-status.md | ||
| Dockerfile | ||
| Dockerfile.simple | ||
| e2e-test-manual.ts | ||
| E2E-TEST-SUMMARY.md | ||
| frontend-solid.dev.pid | ||
| frontend-solid.start.pid | ||
| live-demo-manual.cjs | ||
| live-demo.cjs | ||
| manual-e2e-test.cjs | ||
| package-lock.json | ||
| package.json | ||
| playwright.a11y.config.ts | ||
| playwright.config.ts | ||
| playwright.visual.config.ts | ||
| PREVIEW_REAL_DATA.md | ||
| README.md | ||
| README.test.md | ||
| send-to-hermes.sh | ||
| SIDEBAR_STATUS_COMPLETE.md | ||
| signup-form-before.png | ||
| test-data.json | ||
| TESTING.md | ||
| tsconfig.json | ||
| vite.config.timestamp_1775706024731.js | ||
| vite.config.timestamp_1776803609839.js | ||
| vite.config.timestamp_1776891334006.js | ||
| vite.config.timestamp_1778027207764.js | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.shims.d.ts | ||
NXTGAUGE Frontend Solid
SolidStart migration target for nxtgauge-frontendwebsite.
Principle
Reproduce the same user-facing behavior and runtime-config driven flows without changing product logic.
See docs/MIGRATION_MASTER_PLAN.md for the staged plan.
CI (Woodpecker)
Required secrets:
REGISTRY_USERNAMEREGISTRY_PASSWORD