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.

Match the documentation viewer routing marker in access controls

pulse-triage[bot]bc0e53e577d7
diff --git a/frontend-modern/src/features/docs/__tests__/configurationTransferAccessDocs.test.ts b/frontend-modern/src/features/docs/__tests__/configurationTransferAccessDocs.test.ts
index 4ffb8193c6..dc9ed9307a 100644
--- a/frontend-modern/src/features/docs/__tests__/configurationTransferAccessDocs.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/configurationTransferAccessDocs.test.ts
@@ -81,7 +81,9 @@ describe('Configuration transfer access guidance', () => {
expect(text).toContain('does not grant permission to export or replace settings');
expect(text).toContain('provider and SSO secrets');
expect(text).toContain('Import does not create organisations or transfer their members');
- expect(text).toContain('import does not rebind them to a different destination organisation ID');
+ expect(text).toContain(
+ 'import does not rebind them to a different destination organisation ID',
+ );
const article = articleFor('MIGRATION');
expect(textOf(article)).toContain(
'Organisation definitions, members, invitations and resource shares',
@@ -107,7 +109,7 @@ describe('Configuration transfer access guidance', () => {
'a[href="/docs/MIGRATION#confirm-organisation-and-access"]',
);
expect(link, name).not.toBeNull();
- expect(link?.getAttribute('data-doc-link')).toBe('true');
+ expect(link?.hasAttribute('data-doc-link')).toBe(true);
}
const section = accessSection();
for (const [name, fragment] of [