Skip to content

Documentation

Enterprise Monitor Tests — Control Map

Coverage for /config/monitor: admin gate, resilient load, stats + service health UI.

7/18/2026
1 min read Edit on GitHub
On this page

Surface

Piece Role
+page.server.ts Admin-only; independent fetches (security, webhooks, metrics, state, audit)
+page.svelte Stat cards, service health, incident feed, audit trail

Metrics vary by runtime; tests assert shell presence and admin gate.


Control → test matrix

Control Unit E2E
Admin gate ✅ page.server
Resilient defaults when services fail ✅ page.server
Stats grid + service health
Overall state badge + quick links

Run

bun run test:unit -- tests/unit/routes/monitor-page-server.test.ts
bun x playwright test tests/e2e/routes/config/operations.spec.ts
testinge2emonitor
Was this page helpful?