This commit is contained in:
2026-09-02 10:15:51 +08:00
parent 6dcea387d3
commit 7d97be6450
3 changed files with 21 additions and 7 deletions
@@ -72,6 +72,9 @@ test('implements company details, contact information and qualification workflow
assert.match(profileSource, /银行开户许可证'.*required: false/)
assert.match(profileSource, /requiredQualificationTypes\.every/)
assert.doesNotMatch(profileSource, /四类必填资质/)
assert.doesNotMatch(profileSource, /法人身份证需与本次营业执照一起保存/)
assert.match(profileSource, /const standaloneLegalPersonIdUnsupported = computed/)
assert.match(profileSource, /当前文件服务尚未开放法人身份证单独上传或替换,该选填文件未提交/)
assert.match(profileSource, /qualificationUploadErrorMessage\(error\)/)
assert.match(profileSource, /submitTenantQualificationReview/)
assert.match(profileSource, /提交企业审核/)
@@ -97,6 +100,7 @@ test('implements company details, contact information and qualification workflow
assert.match(profileSource, /<dt>公司联系电话<\/dt><dd>\{\{ store\.company\.contactPhone/)
assert.match(profileSource, /label="公司联系电话" prop="contactPhone" required/)
assert.match(profileSource, /不会修改任何成员的登录手机号/)
assert.match(profileSource, /pattern: \/\^\[0-9-\]\{4,32\}\$\//)
assert.doesNotMatch(profileSource, /<dt>联系电话<\/dt><dd>\{\{ store\.company\.contactPhone/)
assert.match(storeSource, /expiresAt: item\.validTo \|\| '长期有效'/)
})
@@ -141,7 +145,7 @@ test('implements member list, role assignment, password reset and status control
assert.doesNotMatch(membersSource, /member-metrics/)
assert.match(membersSource, /label="登录手机号" prop="phone"/)
assert.match(membersSource, /登录手机号 \/ 邮箱/)
assert.match(membersSource, /用于该成员手机号登录;修改后会同步认证账号/)
assert.match(membersSource, /用于该成员手机号登录;修改后会同步认证账号并退出该成员现有会话/)
assert.match(membersSource, /phone: \[\{ pattern: \/\^1\[3-9\]\\d\{9\}\$\//)
assert.doesNotMatch(membersSource, /label="联系电话" prop="phone"/)
})