fix(e2e): 修复登录页测试 - 精确匹配登录按钮以避开微信登录按钮
CI/CD Pipeline / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 75h5m4s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 75h5m51s

This commit is contained in:
DevOps Bot
2026-07-06 09:48:39 +08:00
parent 80b650dc6d
commit 2324620a78
+1 -1
View File
@@ -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();
});
});