From ec649acb36076e17ad3dc0dcd65d64039a8e1df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 29 Oct 2026 17:00:34 +0100 Subject: [PATCH] Reference smoke test: entry card titles are h2 or h3 The entry-list SEO fix (37131e9) renders card titles as h2 when the list has no section heading; the blog-archive test looked for h3 only. Co-Authored-By: Claude Opus 5.5 --- reference/e2e/smoke.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/e2e/smoke.spec.ts b/reference/e2e/smoke.spec.ts index 827e163..c5cc42e 100644 --- a/reference/e2e/smoke.spec.ts +++ b/reference/e2e/smoke.spec.ts @@ -45,7 +45,7 @@ for (const l of LOCALES) { test(`${l.code}: the blog archive lists entries that open`, async ({ page }) => { await page.goto(l.blog) - const first = page.locator('[data-ipal-block="entryList"] h3 a').first() + const first = page.locator('[data-ipal-block="entryList"] :is(h2, h3) a').first() // card titles: h2 when the list has no heading, else h3 await expect(first).toBeVisible() await first.click() await expect(page.locator('h1')).toHaveCount(1)