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.

Scope backup-location assertion to its detail field

pulse-triage[bot]00ce24548f8b
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx
index b6ee1fe791..6414870421 100644
--- a/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/backupSourceConnection.test.tsx
@@ -109,8 +109,9 @@ describe('restore-point source connections in real inventory consumers', () => {
const detail = screen.getByTestId('proxmox-recoverable-detail');
const connectionRow = within(detail).getByText('Connection').closest('tr')!;
expect(within(connectionRow).getByText(connection)).toBeInTheDocument();
+ const locationRow = within(detail).getByText('Location').closest('tr')!;
expect(
- within(detail).getByText(
+ within(locationRow).getByText(
kind === 'pbs' ? 'main / pve-1' : kind === 'archive' ? 'main' : 'pve-1',
),
).toBeInTheDocument();