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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Keep every valid backup-safety entry point in help checks
pulse-triage[bot]adcb363d4efa
diff --git a/frontend-modern/src/utils/__tests__/backupSafetyHelp.test.ts b/frontend-modern/src/utils/__tests__/backupSafetyHelp.test.tsindex 3829983636..2e1fc795e4 100644--- a/frontend-modern/src/utils/__tests__/backupSafetyHelp.test.ts+++ b/frontend-modern/src/utils/__tests__/backupSafetyHelp.test.ts@@ -136,15 +136,15 @@ describe('manual backup safety help', () => {expect(read('frontend-modern/public/docs/VM_DISK_MONITORING.md')).toBe(guide);const troubleshooting = read('docs/TROUBLESHOOTING.md');expect(read('frontend-modern/public/docs/TROUBLESHOOTING.md')).toBe(troubleshooting);- // The symptom-first navigation also links to this precaution. Check both- // entry points instead of assuming the detailed warning is the first link.+ // The symptom-first navigation also links to this precaution. Require both+ // entry points without rejecting other symptom-specific safety links.const links = render(troubleshooting, 'TROUBLESHOOTING').querySelectorAll('a[href="/docs/VM_DISK_MONITORING#backup-safety"]',);- expect([...links].map((link) => link.textContent)).toEqual([- 'Backup safety',- 'manual backup precaution',- ]);+ const labels = [...links].map((link) => link.textContent);+ for (const label of ['Backup safety', 'manual backup precaution']) {+ expect(labels.filter((text) => text === label)).toHaveLength(1);+ }const target = render(guide, 'VM_DISK_MONITORING');expect(target.querySelector('#backup-safety')?.textContent).toBe('Backup safety');for (const fragment of [