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.

Check the update guide's same-page link as a native fragment

pulse-triage[bot]f0a22446aa86
diff --git a/frontend-modern/src/features/docs/__tests__/dockerUpdateGuide.test.ts b/frontend-modern/src/features/docs/__tests__/dockerUpdateGuide.test.ts
index 503cdbcd6e..3e28f72417 100644
--- a/frontend-modern/src/features/docs/__tests__/dockerUpdateGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/dockerUpdateGuide.test.ts
@@ -98,9 +98,9 @@ describe('shipped monitored-container update guide', () => {
(anchor) => anchor.textContent === 'read-only workload state checks',
);
expect(link?.getAttribute('href')).toBe(
- '/docs/DOCKER#action-was-sent-or-its-outcome-is-unknown',
+ '#action-was-sent-or-its-outcome-is-unknown',
);
- expect(link?.hasAttribute('data-doc-link')).toBe(true);
+ expect(link?.hasAttribute('data-doc-link')).toBe(false);
expect(article.querySelector(link!.hash)?.textContent).toBe(
'Action was sent or its outcome is unknown',
);