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 refreshed location recovery through its active chip

pulse-triage[bot]dee4051afe61
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index f5cecaa920..8ce75247f1 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -2052,12 +2052,14 @@ describe('backup location identity in the consuming views', () => {
await screen.findByText(/saved backup location cannot be identified uniquely/),
).toBeInTheDocument();
expect(points()).toHaveLength(0);
- const option = screen.getByRole('option', {
- name: 'Backup location: PBS · pbs-main / Main',
- }) as HTMLOptionElement;
- await fireEvent.change(screen.getByRole('combobox', { name: 'Filter' }), {
- target: { value: option.value },
- });
+ await fireEvent.click(
+ screen.getByRole('button', { name: 'Backup location: Choose location' }),
+ );
+ await fireEvent.click(
+ within(screen.getByRole('listbox', { name: 'Backup location' })).getByRole('option', {
+ name: 'PBS · pbs-main / Main',
+ }),
+ );
await waitFor(() => expect(points()).toHaveLength(1));
expect(screen.getByText('Main / minipc')).toBeInTheDocument();
expect(screen.queryByText('main / minipc')).not.toBeInTheDocument();