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.

Use the supported exact-name query for Billing Admin tests

pulse-triage[bot]4b10ca579a32
diff --git a/frontend-modern/src/components/Settings/__tests__/BillingAdminReadLifetimes.test.tsx b/frontend-modern/src/components/Settings/__tests__/BillingAdminReadLifetimes.test.tsx
index 8c396fed99..4e8dc28bdf 100644
--- a/frontend-modern/src/components/Settings/__tests__/BillingAdminReadLifetimes.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/BillingAdminReadLifetimes.test.tsx
@@ -165,9 +165,7 @@ describe('Billing Admin accepted inventory and billing reads', () => {
await settle();
expect(mocks.get).toHaveBeenCalledTimes(2);
expect(screen.queryByText(/SYNTHETIC PRIVATE/)).not.toBeInTheDocument();
- await fireEvent.click(
- screen.getByRole('button', { name: 'Organization org-a org-a', exact: true }),
- );
+ await fireEvent.click(screen.getByRole('button', { name: 'Organization org-a org-a' }));
expect(screen.getByRole('status')).toHaveTextContent(BILLING_ADMIN_READ_ERROR);
expect(screen.queryByText(/"loading": true/)).not.toBeInTheDocument();
const before = mocks.put.mock.calls.length;