26 lines
724 B
Markdown
26 lines
724 B
Markdown
# Testing Runbook
|
|
|
|
## Install
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
## Execute Tests
|
|
|
|
```bash
|
|
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 status, detail, history, and submit flows.
|
|
- `src/auth/oidcLogin.test.ts`: OIDC start-url generation and safe return-url fallback.
|
|
- `src/App.test.tsx`: central login screen, shared-lifecycle order messaging, order submission progression hints, 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.
|