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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
test(workloads): realign stale Memory-card test with shipped behavior
rcourtman42105ec6e5ad
diff --git a/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx b/frontend-modern/src/components/Workloads/GuestDrawer.test.tsxindex dbc3d1e7de..4787a6dce9 100644--- a/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx+++ b/frontend-modern/src/components/Workloads/GuestDrawer.test.tsx@@ -542,7 +542,7 @@ describe('GuestDrawer', () => {expect(screen.getByText(/Swap/)).toBeInTheDocument();});- it('hides Memory card when no balloon and no swap', () => {+ it('keeps the Memory card showing primary RAM usage even without balloon or swap', () => {const memory: Memory = {total: 4294967296,used: 2147483648,@@ -550,8 +550,12 @@ describe('GuestDrawer', () => {usage: 0.5,};render(() => <GuestDrawer guest={makeGuest({ memory })} onClose={vi.fn()} />);- const memoryHeaders = screen.queryAllByText('Memory');- expect(memoryHeaders).toHaveLength(0);+ // The Memory card now always surfaces primary RAM usage (Usage / Total /+ // Free) to match the node drawer's memory card; balloon and swap remain+ // optional rows. See commit "show RAM usage in guest drawer Memory card".+ expect(screen.getByText('Memory')).toBeInTheDocument();+ expect(screen.queryByText(/Balloon/)).not.toBeInTheDocument();+ expect(screen.queryByText(/Swap/)).not.toBeInTheDocument();});it('hides balloon when it equals total', () => {