Fix mission board reachability navigation
This commit is contained in:
@@ -187,6 +187,10 @@ const strictRouteExpectations: Partial<Record<(typeof canonicalRoutes)[number],
|
||||
title: /SBOM Lake/i,
|
||||
texts: ['SBOM Lake', 'Attestation Coverage Metrics'],
|
||||
},
|
||||
'/security/reachability': {
|
||||
title: /Reachability/i,
|
||||
texts: ['Reachability Center'],
|
||||
},
|
||||
'/ops/policy': {
|
||||
title: /Policy/i,
|
||||
texts: ['Policy Governance', 'Risk Budget Overview'],
|
||||
@@ -1281,6 +1285,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 }) => {
|
||||
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');
|
||||
});
|
||||
|
||||
test('sidebar root navigation works for all canonical workspaces', async ({ page }) => {
|
||||
await page.goto('/mission-control/board', { waitUntil: 'domcontentloaded' });
|
||||
await page.locator('aside.sidebar a[href="/releases/overview"]').first().click();
|
||||
|
||||
Reference in New Issue
Block a user