feat(e2e): consolidate E2E infra + add waitForSidebar (PRI-701) #66

Closed
privilegedescalation-engineer[bot] wants to merge 4 commits from gandalf/e2e-fix-sealed-secrets into main

4 Commits

Author SHA1 Message Date
Chris Farhood 3e42e46320 fix(e2e): use .first() to handle strict mode violations (PRI-701)
Strict mode violations:
- /sealed.secrets/i matches both 'Sealed Secrets' and 'All Sealed Secrets' buttons
- /sealing.key/i may match multiple headings

Using .first() for heading assertions to avoid strict mode.
2026-05-05 13:58:58 +00:00
Chris Farhood cd40021710 fix(e2e): add waitForSidebar and networkidle waits + fix nav test (PRI-701)
- Adds waitForSidebar helper with sidebar visibility wait + networkidle
- Fixes 'navigation between sealed-secrets views' to use waitForSidebar and expand sidebar before nav
- Plugin settings test waits for list before searching
2026-05-05 13:10:29 +00:00
Chris Farhood 907d45621e Fix E2E namespace to headlamp-dev and add RBAC manifest
- Changed E2E_NAMESPACE from privilegedescalation-dev to headlamp-dev
  in e2e.yaml, deploy-e2e-headlamp.sh, and teardown-e2e-headlamp.sh
- Added deployment/e2e-ci-runner-rbac.yaml (copy from polaris repo)
- The ARC runner SA has RBAC scoped to headlamp-dev, not
  privilegedescalation-dev — this caused E2E run failures.

- PRI-619 QA review feedback from Regina

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 06:08:28 +00:00
Chris Farhood 935fec988c Add E2E test workflow for sealed-secrets plugin
The repo already had all E2E files (tests, deploy/teardown scripts, Playwright
config, @playwright/test dependency) but was missing the CI workflow to wire
them together. This adds the e2e.yaml, adapted for pnpm, targeting the
privilegedescalation-dev namespace.

- PRI-619

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 04:39:06 +00:00