From 67e2f2caba640b0225643a78628654d94d341713 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 18 Jun 2026 15:06:07 +0000 Subject: [PATCH] test(ui): home greeting asserts sans font, not the dropped serif The greeting render-smoke still asserted Fraunces; update it to assert the Geist sans display font (and not Fraunces), matching the all-sans direction. Assisted-by: Claude:claude-opus-4-8 [Claude Code] Signed-off-by: Ettore Di Giacinto --- core/http/react-ui/e2e/home-redesign.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/http/react-ui/e2e/home-redesign.spec.js b/core/http/react-ui/e2e/home-redesign.spec.js index 5ee5950a8..74b4f6b4a 100644 --- a/core/http/react-ui/e2e/home-redesign.spec.js +++ b/core/http/react-ui/e2e/home-redesign.spec.js @@ -1,12 +1,14 @@ import { test, expect } from './coverage-fixtures.js' test.describe('Home editorial redesign', () => { - test('renders the serif greeting header', async ({ page }) => { + test('renders the editorial greeting header in the sans display font', async ({ page }) => { await page.goto('/app') const greeting = page.locator('.home-greeting') await expect(greeting).toBeVisible({ timeout: 15_000 }) const family = await greeting.evaluate(el => getComputedStyle(el).fontFamily) - expect(family.toLowerCase()).toContain('fraunces') + // Refined-grotesk direction: the greeting uses Geist (no serif). + expect(family.toLowerCase()).toContain('geist') + expect(family.toLowerCase()).not.toContain('fraunces') }) test('quick links expose a single primary action', async ({ page }) => {