fix: restore badge emoji, fix aria-label, and correct service proxy URL #19

Merged
ghost merged 2 commits from fix/e2e-badge-and-proxy-url into main 2026-03-08 03:13:29 +00:00

2 Commits

Author SHA1 Message Date
gandalf-the-greybeard[bot] e9950c75ea style: format polaris.ts to pass prettier check
The service proxy URL fix in 61bf1fe exceeded the line length limit.
Run prettier to split the long line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 03:12:45 +00:00
gandalf-the-greybeard[bot] 61bf1fe753 fix: restore badge emoji, fix aria-label, and correct service proxy URL
Three root causes for E2E test failures since March 4:

1. Service proxy URL missing http: protocol prefix — Kubernetes requires
   the format http:service-name:port, not service-name:port. This caused
   all data fetches to fail, making data-dependent components render
   empty states instead of expected content.

2. AppBarScoreBadge aria-label "Polaris cluster score: X%" doesn't match
   the E2E test regex /Polaris: \d+%/. Simplified to "Polaris: X%".

3. Shield emoji was removed from badge in commit 514de78 but E2E tests
   still assert its presence.

Fixes PRI-20

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 01:21:51 +00:00