提交 abca140e 编写于 作者: Anne_LXM's avatar Anne_LXM

test:修复ucenter测试例报错

上级 2fe34aba
......@@ -25,12 +25,11 @@ describe('ucenter', () => {
})
it('列表', async () => {
const getUcenterList = await page.data('ucenterList')
expect(getUcenterList.length).toBe(2);
// if (platform === "mp-weixin") {
// expect(getUcenterList.length).toBe(2);
// } else {
// expect(getUcenterList.length).toBe(3);
// }
if (platform.startsWith("app")) {
expect(getUcenterList.length).toBe(3);
} else {
expect(getUcenterList.length).toBe(2);
}
})
it('普通签到', async () => {
if (platform.startsWith("app")) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册