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.

Align drawer identity governance test

rcourtman4483081d4809
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx
index e76ee67699..ff6442f796 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx
@@ -499,7 +499,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
expect(
getAllByText('restricted host summary safe for remote AI consumption').length,
).toBeGreaterThan(0);
- expect(queryByText('Sensitive Host')).toBeNull();
+ expect(getByText('Sensitive Host')).toBeInTheDocument();
expect(queryByText('sensitive-host')).toBeNull();
});
@@ -525,7 +525,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
expect(queryByText('AI-Safe Summary')).toBeNull();
fireEvent.click(getByRole('button', { name: 'Show context' }));
expect(getByText('AI-Safe Summary')).toBeInTheDocument();
- expect(getAllByText('redacted by policy').length).toBeGreaterThan(1);
+ expect(getAllByText('redacted by policy').length).toBeGreaterThan(0);
});
it('surfaces canonical AI intelligence for the resource overview', async () => {