kitchen-ops-web/docs/runbooks/testing.md
2026-03-31 17:16:58 -06:00

682 B

Testing Runbook

Install

npm install

Execute Tests

npm run test:ci

Coverage Scope

  • src/api/client.test.ts: runtime-config precedence and fallback behavior.
  • src/api/dashboardApi.test.ts: endpoint path/query composition for board and operator action flows.
  • src/auth/oidcLogin.test.ts: OIDC start-url generation and safe return-url fallback.
  • src/App.test.tsx: central login screen, board lane loading, operator actions, and session-expired reauthentication guidance.

Notes

  • Use containerized Node execution when host npm is unavailable.
  • Prefer container-first validation before opening or updating runtime stack images.