ci: workflow: add helm e2e tests for plugin manager#4648
ci: workflow: add helm e2e tests for plugin manager#4648Vaishnav-Dhaval wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Vaishnav-Dhaval The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
ccc871d to
1ef6a8f
Compare
There was a problem hiding this comment.
Pull request overview
Adds CI coverage for Helm-based deployments by installing Headlamp via the local Helm chart with the Plugin Manager enabled, then running a new Playwright e2e test to validate a plugin installed in-cluster is visible in the UI.
Changes:
- Add a new Playwright spec (
helmPlugins.spec.ts) to verify a Helm+Plugin Manager installed plugin appears in Settings → Plugins. - Add a
tableContainshelper toHeadlampPagefor table text assertions. - Extend
build-container.ymlto install Helm, deploy the local chart into a dedicated namespace, and run the new e2e test against that instance.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| e2e-tests/tests/helmPlugins.spec.ts | New e2e test targeting Helm-installed Headlamp + plugin manager behavior. |
| e2e-tests/tests/headlampPage.ts | Adds a helper to assert table contents in Playwright tests. |
| .github/workflows/build-container.yml | Adds Helm setup + chart install and runs the new Helm plugin-manager e2e test in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
illume
left a comment
There was a problem hiding this comment.
It looks like the test is failing in CI. Can you please have a look?
1ef6a8f to
2849ee9
Compare
illume
left a comment
There was a problem hiding this comment.
Can you please address the open review comments?
2849ee9 to
150d4d6
Compare
Summary
This PR adds Helm e2e tests for plugins repo plugins installed via Helm.
Related Issue
Fixes #4058
Changes
e2e-tests/tests/helmPlugins.spec.tsto verify plugins installed via Helm and Manager.tableContainshelper method toe2e-tests/tests/headlampPage.tsfor table content assertions..github/workflows/build-container.ymlto:headlamp-helm).Steps to Test
build discover and deployjob, check the "Deploy Headlamp via Helm and run plugin manager tests" step.helmPlugins.spec.tstest passes, confirming that the Flux plugin is visible in the settings table.Notes for the Reviewer
NodePortservice and a custombaseURL(/headlamp-helm) to ensure routing works correctly in complex deployment scenarios.