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.

Exercise the ordinary poll in the grouped-focus regression fixture

pulse-triage[bot]9a06fd3e8328
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index aff77ce193..0d98b69479 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -1734,6 +1734,7 @@ describe('backup-date-evidence connected inventory', () => {
));
it('[regression] keeps focus when a reported date moves the open point to another day group', async () => {
+ vi.useFakeTimers({ now, toFake: ['Date', 'setInterval', 'clearInterval'] });
window.history.replaceState({}, '', '/?view=date');
supply('2026-10-04T11:59:00Z', true);
mount();
@@ -1742,7 +1743,7 @@ describe('backup-date-evidence connected inventory', () => {
toggle.focus();
const panel = screen.getByTestId('proxmox-recoverable-detail');
supply('not-a-date', true);
- eventBus.emit('org_switched', 'reported-date-group-move');
+ await vi.advanceTimersByTimeAsync(30_000);
await waitFor(() =>
expect(within(panel).getByText('Reported date').closest('tr')).toHaveTextContent(
'not-a-date',