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.

Keep URL navigation timers live in task origin search tests

pulse-triage[bot]0ecacd079543
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupTaskOrigin.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupTaskOrigin.test.tsx
index 671c1c20ed..771830cb1f 100644
--- a/frontend-modern/src/features/proxmox/__tests__/backupTaskOrigin.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/backupTaskOrigin.test.tsx
@@ -145,6 +145,10 @@ describe('task-reported origin through the inventory consumer', () => {
it.each(['historical-node', 'task-100'])(
'searches exposed task evidence without leaking into a namesake: %s',
async (term) => {
+ // Match the existing saved-view consumer tests: real timers for input
+ // and URL navigation, with only the observation date fixed.
+ vi.useRealTimers();
+ vi.useFakeTimers({ now: BACKUP_IDENTITY_NOW, toFake: ['Date'] });
mount();
await screen.findByRole('button', { name: /Expand details for same-name.*east/ });
fireEvent.input(