feat(e2e): consolidate E2E infra + fix flaky storage-classes test (PRI-699) #56
Reference in New Issue
Block a user
Delete Branch "gandalf/e2e-fix"
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?
Summary
Consolidates E2E test infrastructure for
headlamp-rook-pluginand fixes two test reliability issues.What this PR does
e2e/auth.setup.ts,e2e/rook.spec.ts,playwright.config.ts, scripts/deploy-e2e-headlamp.sh, scripts/teardown-e2e-headlamp.sh (all frommain)navigation to storage classes view workstest: the 'Storage Classes' link is nested under the Rook sidebar button — expands Rook section before asserting link visibilityplugin settings page shows rook plugin entrytest: uses case-insensitive/rook/iregex and waits for plugin list to render before searchingTest reliability notes
E2E tests require:
headlamp-e2e-testinheadlamp-devnamespace with cluster-scoped permissions forstorageclasses,persistentvolumes,persistentvolumeclaims,cephclusters,cephblockpools,cephfilesystems,cephobjectstores(and Rook CRDs)kubectl create token headlamp-e2e-test -n headlamp-dev --duration=1hThese RBAC requirements are tracked in PRI-702.
References
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Closing — superseded by #61 (canonical E2E consolidation PR). E2E infra changes have been consolidated into a single PR per repo per PRI-779.
Pull request closed