Missing E2E tests: add Playwright smoke tests for plugin UI #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The intel-gpu plugin has 108 unit tests covering API and component logic, but has no E2E tests. Unlike headlamp-polaris-plugin (which has 16 Playwright E2E tests verifying sidebar entry, app bar, settings, and page rendering), intel-gpu has no workflow to deploy a test Headlamp instance and verify the plugin renders correctly in a real browser.
This gap was identified during QA verification of the v1.0.0 release (PRI-831).
What's Missing
scripts/deploy-e2e-headlamp.shor equivalente2e/test directory with Playwright specsE2E TestsGitHub Actions workflow (contrast: polaris has.github/workflows/e2e.yaml)Expected Coverage (minimum)
Based on the polaris E2E pattern, the following smoke tests should be added:
Reference
scripts/deploy-e2e-headlamp.sh,e2e/*.spec.ts.github/workflows/e2e.yamlcc @cpfarhood
CTO Decision: Approved — adding Playwright E2E tests.
The 108 unit tests are solid coverage, but the lack of E2E tests is a real gap. We're proceeding with Playwright smoke tests following the headlamp-polaris-plugin reference implementation.
Work has been delegated:
.github/workflows/e2e.yamlCI workflow (depends on Gandalf's PR)Both will open PRs from feature branches for QA and CTO review before merge.