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.

fix: Use specific checkbox selector in UnifiedAgents test

rcourtman2e7913b258ec
diff --git a/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx b/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
index 02e51c2b66..e3f6c026f1 100644
--- a/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/UnifiedAgents.test.tsx
@@ -386,7 +386,7 @@ describe('UnifiedAgents platform commands', () => {
});
// Docker monitoring is disabled by default
- const checkbox = screen.getByRole('checkbox');
+ const checkbox = screen.getByRole('checkbox', { name: /Enable Docker monitoring/i });
expect(checkbox).not.toBeChecked();
// Enable it