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

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

上级 83e64e14
...@@ -21,8 +21,6 @@ const pages = [ ...@@ -21,8 +21,6 @@ const pages = [
'/pages/component/rich-text/rich-text-complex', '/pages/component/rich-text/rich-text-complex',
'/pages/component/rich-text/rich-text-tags', '/pages/component/rich-text/rich-text-tags',
'/pages/component/rich-text/rich-text', '/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/slider',
'/pages/component/slider-100/slider-100', '/pages/component/slider-100/slider-100',
'/pages/component/swiper/swiper', '/pages/component/swiper/swiper',
...@@ -120,7 +118,8 @@ const pages = [ ...@@ -120,7 +118,8 @@ const pages = [
// '/pages/API/element-draw/element-draw', // '/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 端不支持页面 // 规避 web 端不支持页面
pages.push( pages.push(
"/pages/component/list-view/list-view", "/pages/component/list-view/list-view",
...@@ -135,6 +134,8 @@ if (process.env.uniTestPlatformInfo.startsWith('android') && !process.env.UNI_AU ...@@ -135,6 +134,8 @@ if (process.env.uniTestPlatformInfo.startsWith('android') && !process.env.UNI_AU
'/pages/template/custom-refresher/custom-refresher', '/pages/template/custom-refresher/custom-refresher',
'/pages/template/custom-tab-bar/custom-tab-bar', '/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.
先完成此消息的编辑!
想要评论请 注册