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.

Wait for routed backup capacity evidence in the page control

pulse-triage[bot]3970960d318d
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index d047855666..dc321ce203 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -241,6 +241,9 @@ describe('ProxmoxBackupsTable', () => {
servers={servers()}
/>
));
+ // The router mounts its page asynchronously. Wait for the capacity notice
+ // before binding page-level queries to the server table.
+ await screen.findByText('Unavailable');
const table = container.querySelector('[data-proxmox-backups-table="servers"]') as HTMLElement;
const backupCount = () => {
const index = Array.from(table.querySelectorAll('th')).findIndex(