提交 6ca01781 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: 地图解决ios报错

上级 0857207e
......@@ -7,7 +7,9 @@ describe('web-map', () => {
beforeAll(async () => {
page = await program.reLaunch('/pages/component/map/map')
await page.waitFor('view');
await page.waitFor('map');
if(!platformInfo.startsWith('ios')){
await page.waitFor('map');
}
// 等待地图加载完成
const waitTime = process.env.uniTestPlatformInfo.includes('firefox') ? 5000:4000
await page.waitFor(waitTime)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册