Skip to content

Commit

Permalink
remove locale from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mocca101 committed Jun 26, 2024
1 parent d468aa4 commit 63aa2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/lib/fixtures/imprint-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") });
Expand Down
2 changes: 1 addition & 1 deletion e2e/lib/fixtures/index-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") });
Expand Down

0 comments on commit 63aa2ec

Please sign in to comment.