From 6f708f829eb3ccca653a2b2a8da5910d21de3c8a Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Sat, 28 Nov 2026 09:10:37 +0000 Subject: [PATCH] Update missing-data FAQ Help test for Proxmox Backups links Pulse PR #5370 added three shipped-guide links inside #no-data-showing in docs/FAQ.md (and frontend-modern/public/docs/FAQ.md): two pointing to /docs/RECOVERY#stale-proxmox-backup-telemetry and one pointing to /docs/PBS#stale-pbs-readings-and-unread-datastore-capacity. Update missingDataFAQ.test.ts to expect 15 links across #no-data-showing and #connection-refused and assert that the new RECOVERY and PBS links resolve to real headings in the shipped guides. Contract-Neutral: Updates a Vitest documentation assertion for added FAQ links without changing UI, runtime, or API behavior. Change-source: pulse-maintainer --- .../src/features/docs/__tests__/missingDataFAQ.test.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend-modern/src/features/docs/__tests__/missingDataFAQ.test.ts b/frontend-modern/src/features/docs/__tests__/missingDataFAQ.test.ts index e4d7c5344e..0835cf0a15 100644 --- a/frontend-modern/src/features/docs/__tests__/missingDataFAQ.test.ts +++ b/frontend-modern/src/features/docs/__tests__/missingDataFAQ.test.ts @@ -69,10 +69,18 @@ describe('shipped missing-data FAQ', () => { it('routes each symptom to a real heading in a shipped guide', () => { const sections = [section('no-data-showing'), section('connection-refused')]; const links = sections.flatMap((element) => [...element.querySelectorAll('a[href]')]); - expect(links).toHaveLength(12); + expect(links).toHaveLength(15); expect( sections[0].querySelector('a[href="/docs/KUBERNETES#stale-kubernetes-readings"]'), ).not.toBeNull(); + expect( + sections[0].querySelectorAll('a[href="/docs/RECOVERY#stale-proxmox-backup-telemetry"]'), + ).toHaveLength(2); + expect( + sections[0].querySelector( + 'a[href="/docs/PBS#stale-pbs-readings-and-unread-datastore-capacity"]', + ), + ).not.toBeNull(); expect( sections[0].querySelector( 'a[href="/docs/TROUBLESHOOTING#replication-jobs-are-pending-stale-or-missing"]',