Fix E2E test for renamed register heading

The i18n change renamed "Create Account" to "Register" — update the
E2E test to match.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 02:17:13 +01:00 committed by GitHub
parent b96b32cb53
commit df845ec610

View file

@ -15,7 +15,7 @@ test.describe("Journal", () => {
test("registration page renders correctly", async ({ page }) => {
await page.goto("/auth/register");
await expect(page.getByText("Create Account")).toBeVisible();
await expect(page.getByText("Register")).toBeVisible();
await expect(page.getByLabel("Email")).toBeVisible();
await expect(page.getByLabel("Username")).toBeVisible();
await expect(page.getByRole("button", { name: /Register with Passkey/ })).toBeVisible();