From c5b175abde17b3e78ae514c1d3f06a98b3824850 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 10 Dec 2024 14:55:16 +0800 Subject: [PATCH] =?UTF-8?q?test(dialogPage):=20statusBar=20=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E5=85=BC=E5=AE=B9=20ios=2013.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/dialog-page/dialog-page.test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/API/dialog-page/dialog-page.test.js b/pages/API/dialog-page/dialog-page.test.js index 10017da9..852e1813 100644 --- a/pages/API/dialog-page/dialog-page.test.js +++ b/pages/API/dialog-page/dialog-page.test.js @@ -414,8 +414,12 @@ describe('dialog page', () => { width: 100, height: 70 }; - - if (process.env.uniTestPlatformInfo.startsWith('android 6')) { + if (isIos && platformInfo.indexOf('13.7') != -1) { + adbScreenShotArea.x = 690 + adbScreenShotArea.y = 25 + adbScreenShotArea.width = 50 + adbScreenShotArea.height = 50 + } else if (process.env.uniTestPlatformInfo.startsWith('android 6')) { adbScreenShotArea.x = 535 adbScreenShotArea.width = 90 adbScreenShotArea.height = 50 -- GitLab