Commit Graph

2 Commits

Author SHA1 Message Date
Chris Farhood f1500ed326 fix(e2e): update namespace to headlamp-dev where RBAC is configured
The Service delete fix on this branch is correct, but the E2E workflow
and scripts still defaulted to privilegedescalation-dev where the
arc-runners service account has no permissions. This caused RBAC
Forbidden errors instead of the original ERR_NAME_NOT_RESOLVED.

Changed all defaults to headlamp-dev, matching the successful
gandalf/rename-ns-headlamp-dev branch.
2026-05-05 03:50:32 +00:00
Gandalf the Greybeard 796ec48ad1 feat: add Playwright E2E smoke tests
Adds Playwright E2E smoke tests following the headlamp-polaris-plugin
pattern. Tests target a dedicated Headlamp instance in the
privilegedescalation-dev namespace.

- playwright.config.ts: Playwright configuration with auth state
- e2e/auth.setup.ts: OIDC (Authentik) and token-based auth setup
- e2e/intel-gpu.spec.ts: 5 smoke tests covering sidebar, overview,
  device-plugins page, settings, and inter-view navigation
- scripts/deploy-e2e-headlamp.sh: deploys stock Headlamp with plugin
  injected via ConfigMap into privilegedescalation-dev
- scripts/teardown-e2e-headlamp.sh: tears down all E2E resources
- package.json: adds @playwright/test dev dep, e2e/e2e:headed scripts
- .gitignore: excludes auth state, .env.e2e, playwright-report/

Closes #24

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-24 22:59:55 +00:00