(chore) add playwright e2e test
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
- [ ] `delivery_test.go` — apps group correctly by `sync-wave`; Secret names absent from output (kind+count only); `repoURL` absent from output
|
||||
- [ ] `delivery.test.tsx` — 550-node tree renders under frame budget with virtualization on
|
||||
- [ ] `delivery.e2e.ts` (Playwright, hard requirement) — load `/delivery`, click app node, assert side panel opens with virtualized resource tree, assert no Secret names appear in DOM
|
||||
|
||||
## GREEN
|
||||
|
||||
@@ -24,6 +25,7 @@
|
||||
```bash
|
||||
# trigger an Argo sync, observe wave-ordered animation
|
||||
argocd app sync homelab-root
|
||||
pnpm test:e2e delivery.e2e.ts # required, must pass before merge
|
||||
```
|
||||
|
||||
Also in scope for this phase: delete fabricated stats in `app/page.tsx` ("40% CPU reduction", "99.2% uptime", "Mission-critical", "60% latency cut") — wire each card to a real number from `/api/topology` or `/api/delivery`, or remove the claim. Five of six landing cards link to routes that don't exist (`/infrastructure`, `/systems`, `/llm`, `/kafka`, `/opensource`) — fix or remove.
|
||||
|
||||
Reference in New Issue
Block a user