Commit Graph

2 Commits

Author SHA1 Message Date
Chris Farhood f1dd09c155 fix(e2e): use localhost via kubectl port-forward for HEADLAMP_URL
The browser runs outside the cluster and cannot resolve
headlamp-e2e.${E2E_NAMESPACE}.svc.cluster.local DNS names.

- Start kubectl port-forward in background after service rollout
- Poll until localhost:4466 is reachable before writing .env.e2e
- Write HEADLAMP_URL=http://localhost:4466 so Playwright browser can connect
- teardown: kill port-forward processes with pkill

Fixes PRI-752.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 17:03:13 +00:00
Chris Farhood ced7d57895 feat(e2e): consolidate E2E test infrastructure + add waitForSidebar (PRI-700)
- Adds e2e/auth.setup.ts, e2e/kube-vip.spec.ts with waitForSidebar helper
- Adds playwright.config.ts, scripts/deploy-e2e-headlamp.sh, scripts/teardown-e2e-headlamp.sh
- Adds .github/workflows/e2e.yaml
- Fixes plugin settings test to wait for list before searching
2026-05-05 13:07:55 +00:00