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)