diff --git a/e2e/tests/app/i18n.test.ts b/e2e/tests/app/i18n.test.ts index ad42c14..0b3d977 100644 --- a/e2e/tests/app/i18n.test.ts +++ b/e2e/tests/app/i18n.test.ts @@ -34,14 +34,14 @@ test.describe("i18n", () => { test("with unsupported locale", async ({ page }) => { await page.goto("/"); - await expect(page).toHaveURL("/en"); + await expect(page).toHaveURL("/de"); }); }); test("should display not-found page for unknown locale", async ({ page }) => { const response = await page.goto("/unknown"); expect(response?.status()).toBe(404); - await expect(page.getByRole("heading", { name: "Page not found" })).toBeVisible(); + await expect(page.getByRole("heading", { name: "Seite nicht gefunden" })).toBeVisible(); }); test("should display localised not-found page for unknown pathname", async ({ page }) => { diff --git a/e2e/tests/app/metadata.test.ts b/e2e/tests/app/metadata.test.ts index 99f730b..e6e9df1 100644 --- a/e2e/tests/app/metadata.test.ts +++ b/e2e/tests/app/metadata.test.ts @@ -20,7 +20,7 @@ test("should set a canonical url", async ({ page }) => { test("should set document title on not-found page", async ({ page }) => { await page.goto("/unknown"); - await expect(page).toHaveTitle("Page not found | SiCProD"); + await expect(page).toHaveTitle("Seite nicht gefunden | SiCProD"); await page.goto("/de/unknown"); await expect(page).toHaveTitle("Seite nicht gefunden | SiCProD");