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.

Use supported role-query options in backup completion tests

pulse-triage[bot]be587352819b
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index d1415530bc..bd222039ea 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -1658,7 +1658,7 @@ describe('completed restore-point summary and activity', () => {
expect(day).toBeInTheDocument();
expect(screen.queryByRole('button', { name: /: 5 restore points$/ })).not.toBeInTheDocument();
expect(screen.getByText('Completed restore points per day')).toBeInTheDocument();
- await fireEvent.click(screen.getByRole('button', { name: 'Volume', exact: true }));
+ await fireEvent.click(screen.getByRole('button', { name: 'Volume' }));
expect(screen.getByText('Completed restore volume per day')).toBeInTheDocument();
expect(screen.getByRole('button', { name: /: 3.00 KB$/ })).toBeInTheDocument();
expect(screen.getAllByText('Running').length).toBeGreaterThan(0);
@@ -1675,7 +1675,7 @@ describe('completed restore-point summary and activity', () => {
expect(
screen.getByRole('cell', { name: `${getRecoveryFullDateLabel('2026-10-04')} 2 entries` }),
).toBeInTheDocument();
- await fireEvent.click(screen.getByRole('link', { name: 'Coverage', exact: true }));
+ await fireEvent.click(screen.getByRole('link', { name: 'Coverage' }));
expect(screen.queryByText(/completed restore points with known dates/)).not.toBeInTheDocument();
expect(
screen.getByText(/0 completed restore points · 1 running · 1 failed/),