Files
luci-app-zt-gateway/luci-dev/TODO.md
Malar Invention c6c5a04aca chore: clean up repo structure
- Add node_modules/, test-results/, e2e-report/, .omp/ to .gitignore
- Remove throwaway debug scripts (debug-pw*.js, debug-login-dom.js)
- Remove empty mock-server/ directory
- Untrack harness artifact (.omp/plans/)
- Add missing project files to git (e2e tests, Dockerfiles, tooling configs)
2026-07-12 23:42:54 +05:30

924 B

E2E Test Implementation Checklist

Done

  • Fix docker-compose.yml tab corruption (line 21)
  • Fix Dockerfile to be buildable from base image via podman build --security-opt seccomp=unconfined
  • 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