diff --git a/apps/web/e2e/auth.spec.ts b/apps/web/e2e/auth.spec.ts index 0fe0c63d3..b4244afdd 100644 --- a/apps/web/e2e/auth.spec.ts +++ b/apps/web/e2e/auth.spec.ts @@ -5,6 +5,6 @@ test.describe("Authentication page", () => { await page.goto("/login"); await expect(page.getByLabel("邮箱")).toBeVisible(); await expect(page.getByLabel("密码")).toBeVisible(); - await expect(page.getByRole("button", { name: /登\s*录/ })).toBeVisible(); + await expect(page.getByRole("button", { name: "登 录" })).toBeVisible(); }); });