fix: align deploy-e2e-headlamp.sh to argocd plugin #37

Closed
privilegedescalation-engineer[bot] wants to merge 9 commits from hugh/argocd-e2e-final into main

9 Commits

Author SHA1 Message Date
Chris Farhood fb0900e149 fix: align automountServiceAccountToken to true in deploy-e2e-headlamp.sh
Matches other plugins (rook, sealed-secrets, polaris, kube-vip).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-06 21:13:45 +00:00
Chris Farhood e4f888ae60 fix(e2e): disable automount SA token to avoid kubelet fetch race
Kubelet tries to fetch SA token immediately after deployment creates the pod,
but the SA may not be propagated yet. Setting automountServiceAccountToken: false
avoids this race. The SA token is not needed since E2E tests authenticate
via HEADLAMP_TOKEN passed as env var.
2026-05-05 18:46:54 +00:00
Chris Farhood 80ed624af0 fix(e2e): use pnpm-capable workflow branch
Reference @hugh/add-pnpm-support-plugin-e2e which has pnpm support via corepack.

PRI-634
2026-05-05 17:52:27 +00:00
Chris Farhood 3376bb3730 fix(e2e): reference @main workflow after .github merge
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 17:44:02 +00:00
Chris Farhood 2df7bcd57e Fix auth.setup.ts to properly create storage state
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 14:10:49 +00:00
Chris Farhood 15d040b8ca Update pnpm-lock.yaml with playwright dependencies
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 14:06:01 +00:00
Chris Farhood 07bbdddbee Add Playwright E2E test infrastructure to argocd-plugin
- Add @playwright/test and playwright as devDependencies
- Add e2e and e2e:headed scripts
- Add playwright.config.ts
- Add basic e2e test and auth.setup.ts

This fixes the E2E workflow which was failing at the Playwright
install step because the project lacked Playwright dependencies.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 14:04:03 +00:00
Chris Farhood f5c6efc3d6 Add E2E Headlamp deploy/teardown scripts for argocd-plugin
These scripts enable the plugin-e2e workflow to deploy a Headlamp
instance to headlamp-dev with the argocd plugin loaded, allowing
UAT browser testing.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 13:56:01 +00:00
Chris Farhood 944aa1d238 fix(e2e): use pnpm-capable workflow branch with namespace param 2026-05-05 12:20:45 +00:00