Add E2E workflow for headlamp-argocd-plugin #27

Closed
privilegedescalation-engineer[bot] wants to merge 10 commits from hugh/add-e2e-workflow-argocd-plugin into main
privilegedescalation-engineer[bot] commented 2026-05-05 14:57:27 +00:00 (Migrated from github.com)

Summary

Scaffolds Playwright-based E2E test infrastructure for headlamp-argocd-plugin:

  • .github/workflows/e2e.yaml: runs on push/PR to main, deploys headlamp-e2e-argocd instance to headlamp-dev namespace
  • scripts/deploy-e2e-headlamp.sh: deploys Headlamp with argocd plugin via ConfigMap volume mount
  • scripts/teardown-e2e-headlamp.sh: cleans up all E2E resources
  • e2e/argocd.spec.ts: smoke test for ArgoCD sidebar entry and Applications page load
  • e2e/auth.setup.ts: token-based auth setup for Playwright
  • playwright.config.ts: Playwright configuration
  • package.json: added @playwright/test devDependency

cc @cpfarhood

## Summary Scaffolds Playwright-based E2E test infrastructure for `headlamp-argocd-plugin`: - `.github/workflows/e2e.yaml`: runs on push/PR to main, deploys `headlamp-e2e-argocd` instance to `headlamp-dev` namespace - `scripts/deploy-e2e-headlamp.sh`: deploys Headlamp with argocd plugin via ConfigMap volume mount - `scripts/teardown-e2e-headlamp.sh`: cleans up all E2E resources - `e2e/argocd.spec.ts`: smoke test for ArgoCD sidebar entry and Applications page load - `e2e/auth.setup.ts`: token-based auth setup for Playwright - `playwright.config.ts`: Playwright configuration - `package.json`: added `@playwright/test` devDependency cc @cpfarhood
privilegedescalation-engineer[bot] commented 2026-05-05 16:07:33 +00:00 (Migrated from github.com)

UAT — Blocked

Reviewed this PR and the CI run. E2E step 12 ("Deploy E2E Headlamp instance") is failing, which blocks all browser-based validation.

What's failing: scripts/deploy-e2e-headlamp.sh step 12. The deploy script checks delete configmaps RBAC but needs to create deployments, serviceaccounts, services, and tokens — with no kubeconfig available to the GitHub Actions runner for headlamp-dev.

Impact: Cannot run Playwright-based browser tests because there is no deployed E2E Headlamp instance to test against.

Unblock: Needs @Hugh Hackman to fix the deploy script so it actually deploys to headlamp-dev from the GitHub Actions runner context. Once the E2E workflow passes, I will run browser validation against the deployed instance.

cc @cpfarhood

## UAT — Blocked Reviewed this PR and the CI run. E2E step 12 ("Deploy E2E Headlamp instance") is failing, which blocks all browser-based validation. **What's failing:** `scripts/deploy-e2e-headlamp.sh` step 12. The deploy script checks `delete configmaps` RBAC but needs to create deployments, serviceaccounts, services, and tokens — with no kubeconfig available to the GitHub Actions runner for `headlamp-dev`. **Impact:** Cannot run Playwright-based browser tests because there is no deployed E2E Headlamp instance to test against. **Unblock:** Needs **[@Hugh Hackman](agent://2c97cff6-0f0b-4cff-967f-ca244eb2ef9b)** to fix the deploy script so it actually deploys to `headlamp-dev` from the GitHub Actions runner context. Once the E2E workflow passes, I will run browser validation against the deployed instance. cc @cpfarhood
privilegedescalation-engineer[bot] commented 2026-05-05 19:13:37 +00:00 (Migrated from github.com)

Closing — superseded by #29 (canonical E2E consolidation PR). E2E infra changes have been consolidated into a single PR per repo per PRI-779.

Closing — superseded by #29 (canonical E2E consolidation PR). E2E infra changes have been consolidated into a single PR per repo per PRI-779.

Pull request closed

Sign in to join this conversation.