From e55e9f9e759ae343cd06809e6e459604b1505855 Mon Sep 17 00:00:00 2001 From: Erin Spencer Date: Sun, 6 Sep 2026 12:01:32 -0700 Subject: [PATCH] Update SITREP browser fixture for core graph --- tests/sitrep-format.spec.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sitrep-format.spec.mjs b/tests/sitrep-format.spec.mjs index e24fa1b..b045291 100644 --- a/tests/sitrep-format.spec.mjs +++ b/tests/sitrep-format.spec.mjs @@ -5,8 +5,8 @@ import { test, expect } from '@playwright/test'; test('SITREP supports scan, dependency-map navigation, summary, and full-evidence reading depths', async ({ page }) => { await page.goto('/sitrep/'); - await expect(page.getByRole('navigation', { name: 'Repository situation index' }).locator('a')).toHaveCount(5); - await expect(page.locator('.sitrep-card')).toHaveCount(5); + await expect(page.getByRole('navigation', { name: 'Repository situation index' }).locator('a')).toHaveCount(11); + await expect(page.locator('.sitrep-card')).toHaveCount(11); await expect(page.locator('.sitrep-reading-key > div')).toHaveCount(3); const desktopColumns = await page.locator('.sitrep-dual').first().evaluate(element => getComputedStyle(element).gridTemplateColumns); @@ -45,7 +45,7 @@ test('SITREP remains contained and sequential on a narrow viewport', async ({ pa expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth)).toBeTruthy(); const index = page.getByRole('navigation', { name: 'Repository situation index' }); - await expect(index.locator('a')).toHaveCount(5); + await expect(index.locator('a')).toHaveCount(11); await expect(page.locator('.sitrep-reading-key > div')).toHaveCount(3); await expect(page.locator('[data-sitrep-map] svg')).toBeVisible(); await expect(page.locator('.sitrep-metric').first()).toBeVisible();