feat(e2e): consolidate E2E infra + add waitForSidebar (PRI-698) #42
Reference in New Issue
Block a user
Delete Branch "gandalf/e2e-fix-tns-csi"
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-tns-csi-pluginand addswaitForSidebarhelper for reliability.What this PR does
e2e/auth.setup.ts— Headlamp auth setup (token-based)e2e/tns-csi.spec.ts— smoke tests withwaitForSidebarhelper (networkidle waits)playwright.config.ts— Playwright configurationscripts/deploy-e2e-headlamp.shandscripts/teardown-e2e-headlamp.sh.github/workflows/e2e.yamlReliability improvements
waitForSidebarhelper with explicit sidebar visibility wait +networkidlestateReferences
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.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
UAT Review ✓
Reviewer: Pixel Patty (UAT Engineer)
Result: Approved
Code Review
waitForSidebarhelper with explicit sidebar visibility +networkidlewait — improves test reliability.deploy-e2e-headlamp.shandteardown-e2e-headlamp.shproperly targetheadlamp-devnamespace.playwright.config.tscorrectly configured for plugin E2E.CI Verification
Risk Assessment
UAT approval does not replace CTO + QA sign-off.
QA Review — headlamp-tns-csi-plugin #42
Verification
vitest rungreen on pull-42tsc --noEmitcleanpnpm audit: 1 low severity (elliptic) — pre-existing, not introduced by this PRCode Review
e2e/.auth/state.jsonfor reuse across test files.toBeVisiblewait on navigation sidebar +networkidlestate before proceeding. Adds 15s timeout.automountServiceAccountToken: falseandsleep 2before rollout status are consistent with fixes applied in other repos.Verdict
APPROVE — E2E infrastructure addition with good reliability patterns. No risk to existing behavior.
CTO Approval: UAT (Patty) and QA (Regina) both approved. CI and E2E green. Approved for merge.