Preserve canonical policy and reachability QA routes
This commit is contained in:
@@ -193,7 +193,10 @@ const strictRouteExpectations: Partial<Record<(typeof canonicalRoutes)[number],
|
||||
},
|
||||
'/security/reachability': {
|
||||
title: /Reachability/i,
|
||||
texts: ['Reachability Center'],
|
||||
texts: [
|
||||
'Coverage, witnesses, proof-of-exposure artifacts, and sensor gaps stay in one investigation shell.',
|
||||
'Healthy assets',
|
||||
],
|
||||
},
|
||||
'/setup/trust-signing': {
|
||||
title: /Trust/i,
|
||||
@@ -213,15 +216,21 @@ const strictRouteExpectations: Partial<Record<(typeof canonicalRoutes)[number],
|
||||
},
|
||||
'/ops/policy': {
|
||||
title: /Policy/i,
|
||||
texts: ['Policy Governance', 'Risk Budget Overview'],
|
||||
texts: [
|
||||
'Policy Decisioning Studio',
|
||||
'Decisioning Studio now owns policy packs, governance, simulation, VEX conflicts, exceptions, gate review, and audit.',
|
||||
],
|
||||
},
|
||||
'/ops/policy/overview': {
|
||||
title: /Policy/i,
|
||||
texts: ['Policy Governance', 'Risk Budget Overview'],
|
||||
texts: [
|
||||
'Policy Decisioning Studio',
|
||||
'Decisioning Studio now owns policy packs, governance, simulation, VEX conflicts, exceptions, gate review, and audit.',
|
||||
],
|
||||
},
|
||||
'/ops/policy/risk-budget': {
|
||||
title: /Policy/i,
|
||||
texts: ['Policy Governance', 'Risk Budget Overview'],
|
||||
texts: ['Policy Decisioning Studio', 'Risk Budget Overview'],
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1602,13 +1611,15 @@ test.describe('Pre-alpha key end-user interactions', () => {
|
||||
await expect(page.locator('#main-content')).toContainText('Attestation Coverage Metrics');
|
||||
});
|
||||
|
||||
test('mission board reachability card opens Reachability Center', async ({ page }) => {
|
||||
test('mission board reachability card opens Reachability workspace', async ({ page }) => {
|
||||
await page.goto('/mission-control/board', { waitUntil: 'domcontentloaded' });
|
||||
await page.locator('#main-content a[href="/security/reachability"]').first().click();
|
||||
|
||||
await expect(page).toHaveURL(/\/security\/reachability$/);
|
||||
await expect(page).toHaveTitle(/Reachability/i);
|
||||
await expect(page.locator('#main-content')).toContainText('Reachability Center');
|
||||
await expect(page.locator('#main-content')).toContainText(
|
||||
'Coverage, witnesses, proof-of-exposure artifacts, and sensor gaps stay in one investigation shell.'
|
||||
);
|
||||
});
|
||||
|
||||
test('setup trust-signing tabs stay under setup routes', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user