Merge claude/reference-e2e-entrylist: blog-archive smoke test expects h2 or h3 card titles

After the entry-list heading fix (37131e9/6f56ef4) card titles are h2 when the list
has no section heading; the reference smoke test selector is now :is(h2, h3) a.
Without it CI's reference-full job fails. One file: reference/e2e/smoke.spec.ts.
This commit is contained in:
Radosław Smoliński
2026-10-29 17:01:40 +01:00
+1 -1
View File
@@ -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)