This commit is contained in:
2026-09-02 10:04:21 +08:00
parent 4f3b83f16d
commit e5e412682c
10 changed files with 41 additions and 22 deletions
@@ -53,6 +53,8 @@ test('implements every backend registration field and real submission', () => {
for (const field of ['username', 'companyName', 'displayName', 'legalPerson', 'legalPhone', 'contactEmail', 'countryCode', 'address', 'password', 'agreement']) {
assert.match(registerSource, new RegExp(`prop="${field}"`))
}
assert.match(registerSource, /label="登录手机号" prop="legalPhone"/)
assert.match(registerSource, /注册时同时初始化公司联系电话;注册后两者可分别修改,互不联动/)
assert.match(registerSource, /registerMerchant\(/)
assert.match(registerSource, /4–64 位/)
assert.match(registerSource, /8–72 位/)