diff --git a/frontend/tests/admin-operation-reauth-removal.test.ts b/frontend/tests/admin-operation-reauth-removal.test.ts index dc1a9e240..4ba3748ae 100644 --- a/frontend/tests/admin-operation-reauth-removal.test.ts +++ b/frontend/tests/admin-operation-reauth-removal.test.ts @@ -65,6 +65,9 @@ test("account-level TOTP MFA and customer login email OTP remain available", () assert.match(mfaRoute, /verifyTOTP|verifyBackupCode/); assert.match(mfaUi, /认证器验证码/); - assert.match(loginUi, /邮箱验证码登录/); + // 原值:匹配说明句「邮箱验证码登录,新邮箱将自动创建账户。」→ 新值:匹配「验证码登录」标签页与「邮箱验证码」输入框 + // 原因:2026-11-06 登录页文案改为「登录或注册 / 第一次使用的邮箱会自动注册」,验证码登录本身没变 + assert.match(loginUi, /验证码登录<\/TabsTrigger>/); + assert.match(loginUi, />邮箱验证码<\/Label>/); assert.match(loginUi, /验证并登录/); });