From 6ca017819b3455158c9c917180a8b7ff11874c93 Mon Sep 17 00:00:00 2001 From: taohebin Date: Tue, 3 Dec 2024 18:37:15 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=20=E5=9C=B0=E5=9B=BE=E8=A7=A3?= =?UTF-8?q?=E5=86=B3ios=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/map/map.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/component/map/map.test.js b/pages/component/map/map.test.js index 04e7d36b..1036a896 100644 --- a/pages/component/map/map.test.js +++ b/pages/component/map/map.test.js @@ -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) -- GitLab