test: match the login page's 验证码登录 tab, not the removed intro sentence
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m13s
Independent Staging Quality Gate / validate-python (push) Successful in 5m52s
Independent Staging Quality Gate / publish (push) Successful in 3m2s

The staging gate (#2293) failed on one assertion that pinned the old intro
「邮箱验证码登录,新邮箱将自动创建账户。」. Code sign-in is unchanged; the test
now matches the 验证码登录 tab and the 邮箱验证码 field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
This commit is contained in:
2026-11-06 21:37:10 +08:00
co-authored by Claude Opus 5.5
parent 8ae116d303
commit b31b1c65af
@@ -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 value="otp">验证码登录<\/TabsTrigger>/);
assert.match(loginUi, />邮箱验证码<\/Label>/);
assert.match(loginUi, /验证并登录/);
});