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
test(alerts): satisfy incident fixture types
pulse-triage[bot]8b1e901f8364
diff --git a/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx b/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsxindex c1eaedd601..653d748759 100644--- a/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx+++ b/frontend-modern/src/features/alerts/__tests__/AlertResourceIncidentsPanel.test.tsx@@ -36,7 +36,7 @@ describe('AlertResourceIncidentsPanel', () => {render(() => {state = useAlertResourceIncidentsState();return surface === 'inline' ? (- <AlertResourceIncidentsPanel state={state as AlertHistoryState} />+ <AlertResourceIncidentsPanel state={state as unknown as AlertHistoryState} />) : (<MobileAlertHistoryInvestigationDialoginvestigation={{@@ -46,7 +46,7 @@ describe('AlertResourceIncidentsPanel', () => {typeof MobileAlertHistoryInvestigationDialog>[0]['investigation']['alert'],}}- state={state as AlertHistoryState}+ state={state as unknown as AlertHistoryState}onClose={() => state.setResourceIncidentPanel(null)}/>);@@ -69,14 +69,17 @@ describe('AlertResourceIncidentsPanel', () => {resolve([{id: 'retained',+ alertIdentifier: 'resource-1::connectivity',alertType: 'connectivity',level: 'critical',+ resourceId: 'resource-1',+ resourceName: 'Resource',status: 'resolved',acknowledged: false,events: [],openedAt: '2026-09-08T00:00:00Z',message: 'Retained connection incident',- } as Incident,+ },]);await waitFor(() => expect(screen.getByText('Retained connection incident')).toBeVisible());expect(read).toHaveBeenLastCalledWith('resource-1', 10);