mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-26 05:29:45 +00:00
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:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user