Files
luci-app-zt-gateway/skills/TODO.md

23 lines
924 B
Markdown
Raw Normal View History

# E2E Test Implementation Checklist
## Done
- [x] Fix `docker-compose.yml` tab corruption (line 21)
- [x] Fix Dockerfile to be buildable from base image via `podman build --security-opt seccomp=unconfined`
- [x] Update `luci-dev` skill with podman build learnings
## In Progress
- [ ] Update `mise.toml` `docker:up` task to use `podman build` before `docker compose up -d`
- [ ] Start stack with freshly built image and verify containers stay up
- [ ] Verify end-to-end:
- `curl` ubus login returns a session ID
- `curl` `zt-gateway.status` returns `active_gateway: amsterdam`, `active_ip: 10.99.12.3`
- `curl` `zt-gateway.switch` to `tirunelveli`/`force` succeeds (mock gateway is reachable)
## Pending
- [ ] Write `e2e/login.spec.ts`
- [ ] Write `e2e/overview.spec.ts`
- [ ] Write `e2e/switch.spec.ts`
- [ ] Write `e2e/drain.spec.ts`
- [ ] Write `e2e/health.spec.ts`
- [ ] Run tests serially and verify they pass