diff --git a/e2e/lib/fixtures/imprint-page.ts b/e2e/lib/fixtures/imprint-page.ts index 6fd674e2..5cfa843f 100644 --- a/e2e/lib/fixtures/imprint-page.ts +++ b/e2e/lib/fixtures/imprint-page.ts @@ -16,7 +16,7 @@ export class ImprintPage { this.page = page; this.locale = locale; this.i18n = i18n; - this.url = `/${locale}/imprint`; + this.url = `/imprint`; this.mainContent = page.getByRole("main"); this.title = page.getByRole("heading", { level: 1 }); this.skipLink = page.getByRole("link", { name: i18n.t("DefaultLayout.skip-to-main-content") }); diff --git a/e2e/lib/fixtures/index-page.ts b/e2e/lib/fixtures/index-page.ts index 7c0508c2..f74d83a6 100644 --- a/e2e/lib/fixtures/index-page.ts +++ b/e2e/lib/fixtures/index-page.ts @@ -16,7 +16,7 @@ export class IndexPage { this.page = page; this.locale = locale; this.i18n = i18n; - this.url = `/${locale}`; + this.url = `/`; this.mainContent = page.getByRole("main"); this.title = page.getByRole("heading", { level: 1 }); this.skipLink = page.getByRole("link", { name: i18n.t("DefaultLayout.skip-to-main-content") });