提交 51333e06 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

test:移除不支持app-web页面的截图

上级 83e64e14
......@@ -21,8 +21,6 @@ const pages = [
'/pages/component/rich-text/rich-text-complex',
'/pages/component/rich-text/rich-text-tags',
'/pages/component/rich-text/rich-text',
'/pages/component/scroll-view/scroll-view-custom-refresher-props',
'/pages/component/scroll-view/scroll-view-refresher-props',
'/pages/component/slider/slider',
'/pages/component/slider-100/slider-100',
'/pages/component/swiper/swiper',
......@@ -119,8 +117,9 @@ const pages = [
// api
// '/pages/API/element-draw/element-draw',
]
if (process.env.uniTestPlatformInfo.startsWith('android') && !process.env.UNI_AUTOMATOR_APP_WEBVIEW) {
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
if (platformInfo.startsWith('android' || platformInfo.startsWith('ios') && !process.env.UNI_AUTOMATOR_APP_WEBVIEW) {
// 规避 web 端不支持页面
pages.push(
"/pages/component/list-view/list-view",
......@@ -134,7 +133,9 @@ if (process.env.uniTestPlatformInfo.startsWith('android') && !process.env.UNI_AU
'/pages/template/scroll-sticky/scroll-sticky',
'/pages/template/custom-refresher/custom-refresher',
'/pages/template/custom-tab-bar/custom-tab-bar',
'/pages/template/half-screen/half-screen',
'/pages/template/half-screen/half-screen',
'/pages/component/scroll-view/scroll-view-custom-refresher-props',
'/pages/component/scroll-view/scroll-view-refresher-props',
)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册