test: organize current smoke baseline

This commit is contained in:
lix-2026
2026-05-26 07:08:26 +08:00
parent 2210251c13
commit e1681331a3
12 changed files with 358 additions and 74 deletions
+2 -2
View File
@@ -68,9 +68,9 @@ async function validateAuthEntry(baseUrl) {
assert.match(authText, /账号登录/);
assert.match(authText, /邮箱或用户名/);
assert.match(authText, /name="account"[^>]*type="text"|type="text"[^>]*name="account"/);
assert.doesNotMatch(authText, /name="username"/);
assert.match(authText, /data-auth-field="username" hidden/);
assert.match(authText, /name="password"[^>]*type="password"|type="password"[^>]*name="password"/);
assert.match(authText, /data-auth-mode="convex-password"/);
assert.match(authText, /data-auth-mode="sqlite-session"/);
assert.match(authText, /没有账号?注册/);
assert.match(authText, /测试账号快速登录/);
assert.doesNotMatch(authText, /隐私政策|使用\s*Google|使用\s*GitHub|第三方快捷/iu);