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.

Format the corrected backup recovery selectors

pulse-triage[bot]747efd073398
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index 177354c4f2..ee657d63cd 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -1034,9 +1034,7 @@ describe('backup read recovery keeps keyboard position', () => {
finish = fixture.pending();
fireEvent.click(retry);
finish();
- await waitFor(() =>
- expect(screen.getByRole('link', { name: 'Coverage' })).toHaveFocus(),
- );
+ await waitFor(() => expect(screen.getByRole('link', { name: 'Coverage' })).toHaveFocus());
expect(screen.queryByRole('button', { name: fixture.label })).toBeNull();
expect(window.location.pathname + window.location.search + window.location.hash).toBe(
'/proxmox/backups/coverage?q=backup#proof',
@@ -1079,9 +1077,7 @@ describe('backup read recovery keeps keyboard position', () => {
expect(sourceCalls('pve')).toHaveLength(2);
expect(sourceCalls('pbs')).toHaveLength(2);
pve.resolve(jsonResponse(readPvePayload));
- await waitFor(() =>
- expect(screen.getByRole('link', { name: 'Coverage' })).toHaveFocus(),
- );
+ await waitFor(() => expect(screen.getByRole('link', { name: 'Coverage' })).toHaveFocus());
expect(screen.getByRole('button', { name: 'Retry PBS inventory' })).toBeInTheDocument();
pbs.resolve(jsonResponse(pbsPayload));
await waitFor(() =>