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.

Type the backup identity query helper to its actual Element input

pulse-triage[bot]ea67c15de8f6
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
index 8f768142a2..df9c477e5f 100644
--- a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
@@ -56,7 +56,7 @@ async function coverageRows() {
await screen.findAllByText('same-name');
return Array.from(document.querySelectorAll<HTMLElement>('[data-proxmox-backup-row="coverage"]'));
}
-const connectionOf = (row: HTMLElement) =>
+const connectionOf = (row: Element) =>
row.querySelector('[data-backup-workload-connection]')?.textContent;
const connectionRow = (detail: HTMLElement) =>
within(detail).getByText('PVE connection', { exact: true }).closest('tr')!;