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: repin platform surface tests to the estate-overview controls
rcourtman57195884cf23
diff --git a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsxindex 06bd90f031..e36ac1a235 100644--- a/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx+++ b/frontend-modern/src/features/docker/__tests__/DockerNativeTables.test.tsx@@ -447,7 +447,7 @@ describe('Docker native tables', () => {expect(container.querySelector('[data-docker-host-group]')).toBeNull();});- it('omits the View menu when a single-host inventory has no layout choice', () => {+ it('offers no layout choice in the View menu for a single-host inventory', () => {renderInRouter(() => (<DockerContainersTableresources={[@@ -465,7 +465,14 @@ describe('Docker native tables', () => {/>));- expect(screen.queryByRole('button', { name: 'View' })).not.toBeInTheDocument();+ // The View menu always carries the shared inventory-totals toggle, but a+ // single-host inventory must not offer host grouping.+ fireEvent.click(screen.getByRole('button', { name: 'View' }));++ const dialog = screen.getByRole('dialog', { name: 'View preferences' });+ expect(within(dialog).getByText('Inventory totals')).toBeInTheDocument();+ expect(within(dialog).queryByText('Layout')).not.toBeInTheDocument();+ expect(within(dialog).queryByRole('group', { name: 'Group by' })).not.toBeInTheDocument();});it('honors a persisted flat preference for multi-host fleets', () => {diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsxindex 6489e978b5..85d9bb0990 100644--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurfaceUrlFilters.test.tsx@@ -93,7 +93,7 @@ describe('Kubernetes URL-backed shared toolbar filters', () => {);});- it('reserves prominent attention for node availability', () => {+ it('surfaces node availability in the clusters table when a node is not ready', () => {setResources([makeResource({ id: 'cluster-1', type: 'k8s-cluster' }),makeResource({@@ -110,12 +110,16 @@ describe('Kubernetes URL-backed shared toolbar filters', () => {renderSurfaceAt('/kubernetes/overview');- const summary = screen.getByRole('region', { name: 'Kubernetes attention' });- expect(summary).toHaveAttribute('data-platform-attention-summary', 'danger');- expect(summary).toHaveTextContent('1 resource needs review');- expect(summary).toHaveTextContent('1node');- expect(summary).not.toHaveTextContent('0workloads');- expect(summary).not.toHaveTextContent('0signals');+ // The dedicated attention banner was folded into the canonical tables:+ // node availability now reads as a warning-toned ready/total ratio on the+ // cluster row instead of a standalone summary region.+ expect(screen.queryByRole('region', { name: 'Kubernetes attention' })).not.toBeInTheDocument();+ const clusterRow = screen.getAllByText('Cluster 1')[0].closest('tr');+ expect(clusterRow).not.toBeNull();+ expect(clusterRow).toHaveTextContent('0/1');+ const degradedCount = clusterRow!.querySelector('.text-amber-700');+ expect(degradedCount).not.toBeNull();+ expect(degradedCount).toHaveTextContent('0');});it('applies the URL search filter, including -term exclusions, on the workloads tab', () => {diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsxindex b3d51d79ee..28c6cc6c57 100644--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx@@ -507,17 +507,16 @@ describe('ProxmoxBackupsTable', () => {});it('keeps Overview guest totals aligned with the filtered Workloads collection', () => {- expect(proxmoxPageSurfaceSource).toContain(- 'const visibleGuestStats = createMemo(() => workloadsState.totalStats())',- );+ // Guest totals now render as the shared toolbar inventory counts, fed by+ // the workloads state whose collection already excludes demoted app+ // containers. They must never come from the raw model summary counts.+ expect(proxmoxPageSurfaceSource).toContain('inventoryStats={workloadsState.inventoryStats}');expect(proxmoxPageSurfaceSource).not.toContain('currentModel().summary.runningGuestCount} running',);expect(proxmoxPageSurfaceSource).not.toContain('currentModel().summary.stoppedGuestCount} stopped',);- expect(proxmoxPageSurfaceSource).toContain('<Show when={visibleGuestStats().running > 0}>');- expect(proxmoxPageSurfaceSource).toContain('<Show when={visibleGuestStats().stopped > 0}>');});it('keeps the shared storage surface scoped to the whole Proxmox product family', () => {