提交 3884a234 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整定位自动化脚本。

上级 c614886a
...@@ -110,8 +110,9 @@ describe("get-location", () => { ...@@ -110,8 +110,9 @@ describe("get-location", () => {
await page.waitFor(async () => { await page.waitFor(async () => {
return await page.data('jest_complete') === true; return await page.data('jest_complete') === true;
}); });
if (isApp) {
expect((await page.data())['jest_errCode']).toEqual(1505601); expect((await page.data())['jest_errCode']).toEqual(1505601);
}
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册