Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Use a valid selector for the numbered troubleshooting heading

pulse-triage[bot]5bd288a1a9d5
diff --git a/frontend-modern/src/features/docs/__tests__/kubernetesSetupDocs.test.ts b/frontend-modern/src/features/docs/__tests__/kubernetesSetupDocs.test.ts
index 3f60ebb928..e2d90e8c89 100644
--- a/frontend-modern/src/features/docs/__tests__/kubernetesSetupDocs.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/kubernetesSetupDocs.test.ts
@@ -38,7 +38,7 @@ describe('Kubernetes credential setup and diagnosis', () => {
it('shows four failure paths without promoting pods or tokens for diagnosis', () => {
const article = articleFor('KUBERNETES');
- const heading = article.querySelector('#4-troubleshooting')!;
+ const heading = article.querySelector('[id="4-troubleshooting"]')!;
expect(heading).not.toBeNull();
let table = heading.nextElementSibling;
while (table && table.tagName !== 'TABLE') table = table.nextElementSibling;