提交 75ca4deb 编写于 作者: study夏羽's avatar study夏羽

fix captcha errMsg

上级 46a224fa
......@@ -57,7 +57,8 @@ describe('uni_modules/uni-id-pages/pages/login/login-withpwd.vue', () => {
break;
case "uni-id-captcha-required":
expect(resLogin.errMsg).toBe("请输入图形验证码");
const expectCaptchaStr = ["请输入图形验证码","Captcha required"]
expect(expectCaptchaStr).toBe(resLogin.errMsg);
await page.setData({
"captcha":"1234"
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册