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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Wait for Coverage navigation in the source-search regression
pulse-triage[bot]4bde2144449f
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsxindex bb74824614..b328b2fdac 100644--- a/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx@@ -89,13 +89,23 @@ describe('restore-point source connections in real inventory consumers', () => {expect(rows).toHaveLength(1);expect(connectionOf(rows[0])).toBe('Connection: pbs-west');});- fireEvent.click(screen.getByRole('link', { name: /coverage/i }));- fireEvent.click(await screen.findByRole('button', { name: /expand details for same-name/i }));- expect(screen.getByTestId('proxmox-coverage-detail')).toHaveTextContent('pbs-west');+ await fireEvent.click(screen.getByRole('link', { name: /coverage/i }));+ await waitFor(() =>+ expect(document.querySelector('[data-proxmox-backups-table="coverage"]')).toBeInTheDocument(),+ );+ const coverage = document.querySelector<HTMLElement>(+ '[data-proxmox-backups-table="coverage"]',+ )!;+ await fireEvent.click(+ within(coverage).getByRole('button', { name: /expand details for same-name/i }),+ );+ expect(await screen.findByTestId('proxmox-coverage-detail')).toHaveTextContent('pbs-west');expect(new URLSearchParams(window.location.search).get('q')).toBe('PBS-WEST');expect(new URLSearchParams(window.location.search).has('location')).toBe(false);- fireEvent.input(search, { target: { value: '' } });- fireEvent.click(screen.getByRole('link', { name: /by date/i }));+ fireEvent.input(screen.getByPlaceholderText(/Search backups by workload/), {+ target: { value: '' },+ });+ await fireEvent.click(screen.getByRole('link', { name: /by date/i }));await waitFor(() =>expect(document.querySelectorAll('[data-proxmox-backup-row="recoverable"]')).toHaveLength(2),);