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

test:修复ucenter测试例报错

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