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

10 Commits

Author SHA1 Message Date
Chris Farhood 825fed0446 fix(e2e): use pnpm with proper detection and E2E_RELEASE config
The argocd-plugin uses pnpm (packageManager: pnpm@10.32.1) but the
original inline workflow used npm commands (npm ci, cache: npm).
This caused the workflow to fail.

Switch to pnpm detection and commands while preserving the
E2E_RELEASE=headlamp-e2e-argocd setting required by the deploy script.
2026-05-05 15:19:19 +00:00
Chris Farhood 27a1878db1 fix: update pnpm-lock.yaml to match current package.json
The lockfile had 'overrides' section that no longer exists in package.json,
causing 'pnpm install --frozen-lockfile' to fail with config mismatch error.

Regenerated lockfile to match current package.json state.
2026-05-05 15:14:06 +00:00
Chris Farhood 8a603d6c9b fix(e2e): use pnpm-capable reusable workflow
The argocd plugin uses pnpm (packageManager: pnpm@10.32.1) but the
inline workflow was using npm-based commands (npm ci, cache: npm).
This caused 'Setup Node.js' to fail because setup-node@v6 with
cache: npm has issues when no package-lock.json exists.

Switch to the reusable plugin-e2e workflow which properly detects
and uses pnpm for projects with pnpm-lock.yaml.
2026-05-05 15:10:59 +00:00
privilegedescalation-engineer[bot] aef48d38c1 Add @playwright/test devDependency 2026-05-05 14:57:10 +00:00
privilegedescalation-engineer[bot] 3c3542b86e Add playwright.config.ts 2026-05-05 14:55:57 +00:00
privilegedescalation-engineer[bot] f47035656e Add e2e/auth.setup.ts 2026-05-05 14:55:56 +00:00
privilegedescalation-engineer[bot] 0675cb6e5b Add e2e/argocd.spec.ts 2026-05-05 14:55:54 +00:00
privilegedescalation-engineer[bot] 3a8ab3847c Add scripts/teardown-e2e-headlamp.sh 2026-05-05 14:55:53 +00:00
privilegedescalation-engineer[bot] f69e83f917 Add scripts/deploy-e2e-headlamp.sh 2026-05-05 14:55:52 +00:00
privilegedescalation-engineer[bot] dc79422417 Add .github/workflows/e2e.yaml 2026-05-05 14:55:51 +00:00