Match the documentation viewer routing marker in access controls

The focused run found that data-doc-link is an empty presence marker, not the string true. Assert presence without weakening the exact destination checks, and apply the locked formatter output to the long token-binding assertion.

Contract-Neutral: Registered test expectation and formatting repair only; rendered documentation and runtime contracts are unchanged.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-10-25 01:16:28 +01:00
parent d2e38d3505
commit bc0e53e577
@@ -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 [