diff --git a/pages/pages.test.js b/pages/pages.test.js index f80703ab97ebbcc4e6b6007b208a63a6a1922087..b14e81033039c24e64ff89ae323332fccdcefb8c 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -156,7 +156,7 @@ const pages = [ '/pages/API/get-network-type/get-network-type', '/pages/API/page-scroll-to/page-scroll-to', '/pages/API/event-bus/event-bus', - '/pages/API/get-battery-info/get-battery-info', + // '/pages/API/get-battery-info/get-battery-info', '/pages/API/get-window-info/get-window-info', '/pages/API/rpx2px/rpx2px', '/pages/API/request-payment/request-payment/request-payment-uni-pay', @@ -270,7 +270,13 @@ 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 (isApp && !isAppWebview) { pages.push(