From d8c6ee1a2202c648f1d3d043916fd1a4f5f45d2e Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Fri, 17 Nov 2023 11:43:32 +0800 Subject: [PATCH] =?UTF-8?q?test(setNavigationBarColor):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=88=AA=E5=9B=BE=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../set-custom-navigation-bar-color.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js b/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js index 74c960f6..1aae81fb 100644 --- a/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js +++ b/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js @@ -8,7 +8,7 @@ describe("setCustomNavigationBarColor", () => { const adbScreenShotArea = { x: 880, y: 0, - width: 100, + width: 60, height: 60 }; beforeAll(async () => { @@ -19,7 +19,7 @@ describe("setCustomNavigationBarColor", () => { adbScreenShotArea.height = 50 } else if (process.env.uniTestPlatformInfo.startsWith('android 12')) { adbScreenShotArea.x = 1160 - adbScreenShotArea.width = 140 + adbScreenShotArea.width = 70 adbScreenShotArea.height = 80 } await page.waitFor(1000); -- GitLab