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
Update stale Patrol readiness copy assertions to match shipped strings
rcourtman0abeb1a04130
diff --git a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsxindex f90e05853d..986639cf21 100644--- a/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx+++ b/frontend-modern/src/components/AI/__tests__/FindingsPanel.links.test.tsx@@ -262,9 +262,9 @@ describe('FindingsPanel resource links', () => {await waitFor(() => expect(mockState.loadPatrolFindings).toHaveBeenCalled());- expect(screen.getByRole('link', { name: 'Open Provider & Models' })).toHaveAttribute(+ expect(screen.getByRole('link', { name: 'Check Patrol model' })).toHaveAttribute('href',- '/settings/pulse-intelligence/provider',+ '/settings/pulse-intelligence/patrol',);fireEvent.click(@@ -273,9 +273,9 @@ describe('FindingsPanel resource links', () => {}),);- expect(screen.getByRole('link', { name: 'Open Provider & Models' })).toHaveAttribute(+ expect(screen.getByRole('link', { name: 'Check Patrol model' })).toHaveAttribute('href',- '/settings/pulse-intelligence/provider',+ '/settings/pulse-intelligence/patrol',);expect(screen.queryByRole('button', { name: 'Open in Assistant' })).not.toBeInTheDocument();expect(screen.queryByText('Manage')).not.toBeInTheDocument();diff --git a/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx b/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsxindex b318537bfa..c560da39a3 100644--- a/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx+++ b/frontend-modern/src/components/patrol/__tests__/RunHistoryEntry.test.tsx@@ -238,9 +238,9 @@ describe('RunHistoryEntry', () => {expect(screen.queryByText(/tool_choice/)).toBeNull();expect(screen.queryByText(/No endpoints found/)).toBeNull();expect(screen.getByText('error')).toBeInTheDocument();- expect(screen.getByRole('link', { name: 'Open Provider & Models' })).toHaveAttribute(+ expect(screen.getByRole('link', { name: 'Check Patrol model' })).toHaveAttribute('href',- '/settings/pulse-intelligence/provider',+ '/settings/pulse-intelligence/patrol',);});@@ -260,7 +260,7 @@ describe('RunHistoryEntry', () => {/>));- expect(screen.queryByRole('link', { name: 'Open Provider & Models' })).toBeNull();+ expect(screen.queryByRole('link', { name: 'Check Patrol model' })).toBeNull();});it('opens Assistant with structured run history context', () => {diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.tsindex 3ab85cf58a..dbd2f8710f 100644--- a/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts+++ b/frontend-modern/src/features/patrol/__tests__/PatrolIntelligenceHeader.test.ts@@ -77,7 +77,7 @@ describe('PatrolIntelligenceHeader', () => {expect(headerSource).toContain("state.patrolReadiness()?.status === 'not_ready'");expect(headerSource).toContain('getPatrolProviderSettingsAction');expect(headerSource).toContain('providerSetupAction.href');- expect(headerSource).toContain('Check model');+ expect(headerSource).toContain('Fix setup');expect(headerSource).toContain('Check Patrol model:');expect(headerSource).toContain('runButtonDisabled');expect(headerSource).not.toContain('!state.canTriggerPatrol() ||');diff --git a/frontend-modern/src/features/patrol/__tests__/patrolCommercialBoundary.test.ts b/frontend-modern/src/features/patrol/__tests__/patrolCommercialBoundary.test.tsindex 5af62b5965..5954158c43 100644--- a/frontend-modern/src/features/patrol/__tests__/patrolCommercialBoundary.test.ts+++ b/frontend-modern/src/features/patrol/__tests__/patrolCommercialBoundary.test.ts@@ -58,7 +58,7 @@ describe('patrol commercial boundary', () => {"state.patrolReadiness()?.status !== 'not_ready'",);expect(patrolIntelligenceBannersSource).toContain('<Show when={shouldShowReadinessAction()}>');- expect(patrolIntelligenceHeaderSource).toContain('Check model');+ expect(patrolIntelligenceHeaderSource).toContain('Fix setup');});it('does not carry the removed patrol configuration panel chrome', () => {