From 63aa2ec86d46a7d11cf0916334433ccb999a2e67 Mon Sep 17 00:00:00 2001 From: Mocca101 <49754596+Mocca101@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:41:21 +0200 Subject: [PATCH] remove locale from tests --- e2e/lib/fixtures/imprint-page.ts | 2 +- e2e/lib/fixtures/index-page.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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") });