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.

Assert replication health through its accessible status dot

pulse-triage[bot]c5d8e7715d64
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxReplicationTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxReplicationTable.test.tsx
index 242b49cdd5..9ded6b814a 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxReplicationTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxReplicationTable.test.tsx
@@ -125,7 +125,7 @@ describe('ProxmoxReplicationTable', () => {
within(panel).queryByText(/Not synced yet|Last synced|overdue|just now/),
).not.toBeInTheDocument();
expect(within(panel).getAllByText('Unknown')).toHaveLength(2);
- expect(within(panel).getByText('Healthy')).toBeInTheDocument();
+ expect(within(panel).getByRole('img', { name: 'Healthy' })).toBeInTheDocument();
},
);