Add E2E workflow for headlamp-argocd-plugin #27
Reference in New Issue
Block a user
Delete Branch "hugh/add-e2e-workflow-argocd-plugin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Scaffolds Playwright-based E2E test infrastructure for
headlamp-argocd-plugin:.github/workflows/e2e.yaml: runs on push/PR to main, deploysheadlamp-e2e-argocdinstance toheadlamp-devnamespacescripts/deploy-e2e-headlamp.sh: deploys Headlamp with argocd plugin via ConfigMap volume mountscripts/teardown-e2e-headlamp.sh: cleans up all E2E resourcese2e/argocd.spec.ts: smoke test for ArgoCD sidebar entry and Applications page loade2e/auth.setup.ts: token-based auth setup for Playwrightplaywright.config.ts: Playwright configurationpackage.json: added@playwright/testdevDependencycc @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.shstep 12. The deploy script checksdelete configmapsRBAC but needs to create deployments, serviceaccounts, services, and tokens — with no kubeconfig available to the GitHub Actions runner forheadlamp-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-devfrom the GitHub Actions runner context. Once the E2E workflow passes, I will run browser validation against the deployed instance.cc @cpfarhood
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