From 7844858d1413b33df4ba5e58d9b10aadc64bf88b Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Thu, 24 Oct 2024 11:01:57 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BE=8B=E4=B9=8B=E9=97=B4=E9=97=B4=E9=9A=94=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E4=BA=92=E7=9B=B8=E5=B9=B2=E6=89=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pages.test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/pages.test.js b/pages/pages.test.js index 9d1f20ca..8e370a30 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -270,12 +270,12 @@ const pages = [ '/pages/template/custom-long-list/custom-long-list', '/pages/template/test-background-color-content/test-background-color-content', '/pages/template/slider-100/slider-100', -] - -if (isAndroid && isWeb) { - pages.push( - '/pages/API/get-battery-info/get-battery-info', - ) +] + +if (isAndroid && isWeb) { + pages.push( + '/pages/API/get-battery-info/get-battery-info', + ) } if (isApp && !isAppWebview) { @@ -417,6 +417,6 @@ describe("page screenshot test", () => { return `__pages_test__/${currentPagePath.replace(/\//g, "-").substring(1)}` } }) - await page.waitFor(500); + await page.waitFor(800); }); }); -- GitLab