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 TLS editor fixtures with the scoped policy and normalised readback

pulse-triage[bot]9de3ab305bf9
diff --git a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx
index 24962f8c6e..bae7390eda 100644
--- a/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/InfrastructureOperationsModel.test.tsx
@@ -596,6 +596,9 @@ describe('configured-node trust readback', () => {
verifySSL: true,
clusterEndpoints: [],
user: 'fixture@pve',
+ hasPassword: false,
+ hasToken: false,
+ temperature: undefined,
monitorPhysicalDisks: false,
} satisfies NodeConfigWithStatus;
const returned = {
diff --git a/frontend-modern/src/components/Settings/__tests__/NodeModalMonitoringSection.test.tsx b/frontend-modern/src/components/Settings/__tests__/NodeModalMonitoringSection.test.tsx
index 9070db64d1..a2e502befa 100644
--- a/frontend-modern/src/components/Settings/__tests__/NodeModalMonitoringSection.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/NodeModalMonitoringSection.test.tsx
@@ -223,9 +223,13 @@ describe('NodeModalMonitoringSection collection safety', () => {
'not a connection-test result',
);
if (nodeType === 'pve') {
- expect(region.getByText(/Cluster members may have/)).toBeInTheDocument();
+ expect(
+ region.getByText(/Other members retain their own trust settings/),
+ ).toBeInTheDocument();
} else {
- expect(region.queryByText(/Cluster members may have/)).not.toBeInTheDocument();
+ expect(
+ region.queryByText(/Other members retain their own trust settings/),
+ ).not.toBeInTheDocument();
}
const verification = region.getByRole('checkbox', { name: 'Verify SSL certificate' });
expect(verification).toHaveAccessibleDescription(