diff --git a/reference/e2e/smoke.spec.ts b/reference/e2e/smoke.spec.ts index 0d78aa9..827e163 100644 --- a/reference/e2e/smoke.spec.ts +++ b/reference/e2e/smoke.spec.ts @@ -68,10 +68,7 @@ for (const l of LOCALES) { test('every sitemap URL answers 200 with a title, canonical, hreflang and JSON-LD', async ({ page, request }) => { const xml = await (await request.get('/sitemap.xml')).text() - // KNOWN plugin gap (reported 2026-10-29): the sitemap lists the page assigned as 404, which answers 404. - // Remove this filter when ipal-kit leaves the notFound page out of the sitemap. - const KNOWN_404 = ['/pl/nie-znaleziono', '/en/page-not-found'] - const urls = [...xml.matchAll(/([^<]+)<\/loc>/g)].map((m) => new URL(m[1]).pathname).filter((p) => !KNOWN_404.includes(p)) + const urls = [...xml.matchAll(/([^<]+)<\/loc>/g)].map((m) => new URL(m[1]).pathname) expect(urls.length).toBeGreaterThan(20) for (const path of urls) { const res = await page.goto(path)