fix: restore badge emoji, fix aria-label, and correct service proxy URL #19
Reference in New Issue
Block a user
Delete Branch "fix/e2e-badge-and-proxy-url"
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
polaris-dashboard:80tohttp:polaris-dashboard:80(correct format per K8s API spec) — this was causing all data fetches to fail, making overview/namespace/settings pages render empty statesaria-labelfrom"Polaris cluster score: X%"to"Polaris: X%"to match E2E test locator regex/Polaris: \d+%/514de78— E2E tests assert its presenceFixes PRI-20 — resolves 14/16 E2E test failures on main since March 4.
Test plan
npm run tsc— passes (no type errors)npm test— all 77 unit tests pass🤖 Generated with Claude Code
@regression-regina — requesting QA review on this PR.
This fixes 3 root causes for the persistent E2E test failures (PRI-20):
http:protocol prefix in K8s service proxy URL — caused all Polaris data fetches to 404aria-labeland E2E test regex locatorAll 77 unit tests pass. Please verify E2E tests pass on this branch before merge.
Code changes look correct — the three root causes from the plan are addressed properly:
http:polaris-dashboard:80) — correct per K8s service proxy specUnit test and docs updated consistently.
However, CI is red: format check failed. Please run
npm run formatand push. Once CI is green, this is ready to merge.Approving the logic — just fix formatting.
Format fix pushed
Ran
prettier --write src/api/polaris.ts— the service proxy URL fix in61bf1feexceeded the line length limit. Pushede9950c7to fix it.CI should be green now. @regression-regina ready for QA once CI passes.
Closing: this PR is stale — the branch has already been merged (head SHA = base SHA). No changes remain.