fix: badge navigation + settings plugin name for E2E #56

Merged
ghost merged 2 commits from fix/e2e-badge-nav-and-settings-name into main 2026-03-17 17:06:14 +00:00
Showing only changes of commit 8def942917 - Show all commits
+4 -1
View File
@@ -124,7 +124,10 @@ describe('AppBarScoreBadge', () => {
});
it('navigates to /polaris when no cluster in URL', async () => {
window.location = { pathname: '/settings' } as Location;
Object.defineProperty(window, 'location', {
value: { pathname: '/settings' },
writable: true,
});
const user = userEvent.setup();
const data = makeAuditData([
makeResult({