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.

Pin separate token reveal in settings architecture checks

pulse-triage[bot]cc2fbb6204c6
diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
index 14e4b7fe38..a6c84839ac 100644
--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts
@@ -1813,10 +1813,8 @@ describe('settings architecture guardrails', () => {
);
expect(nodeModalSetupGuideSectionSource).toContain('setupCommandButtonTitle');
expect(nodeModalSetupGuideSectionSource).toContain('disabled={setupHandoffDisabled()}');
- expect(nodeModalSetupGuideSectionSource).toContain('Credentialed command ready');
- expect(nodeModalSetupGuideSectionSource).toContain(
- 'one-time setup token is intentionally not shown on this page',
- );
+ expect(nodeModalSetupGuideSectionSource).toContain('Credential-free command ready');
+ expect(nodeModalSetupGuideSectionSource).toContain('one-time setup token is shown separately');
expect(nodeModalStateSource).toContain('copyToClipboard(data.command)');
expect(nodeModalStateSource).toContain('showSetupToken(data)');
expect(nodeModalStateSource).not.toContain('quickSetupPreviewCommand');