diff --git a/pages/pages.test.js b/pages/pages.test.js index 9d1f20ca56b41c02a4c1f2bd00d10056b3622826..8e370a305636410bb9416a7b6461427fa5ee80d6 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); }); });