提交 d350f788 编写于 作者: 雪洛's avatar 雪洛

test: 将所有web支持的页面加入截图对比测试

上级 5ba217c2
...@@ -11,7 +11,9 @@ const pages = [ ...@@ -11,7 +11,9 @@ const pages = [
// '/pages/component/image/image-path', // 网络资源加载,单独测试例截图 // '/pages/component/image/image-path', // 网络资源加载,单独测试例截图
'/pages/component/image/image', '/pages/component/image/image',
// '/pages/component/input/input', // 自动获取焦点,单独测试例截图 // '/pages/component/input/input', // 自动获取焦点,单独测试例截图
// '/pages/component/list-view/list-view', '/pages/component/list-view/list-view',
'/pages/component/scroll-view/scroll-view-custom-refresher-props',
'/pages/component/scroll-view/scroll-view-refresher-props',
'/pages/component/navigator/navigate', '/pages/component/navigator/navigate',
'/pages/component/navigator/navigator', '/pages/component/navigator/navigator',
'/pages/component/navigator/redirect', '/pages/component/navigator/redirect',
...@@ -102,18 +104,18 @@ const pages = [ ...@@ -102,18 +104,18 @@ const pages = [
// template // template
// '/pages/template/calendar/calendar', // 动态内容 // '/pages/template/calendar/calendar', // 动态内容
// '/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/drop-card/drop-card', // '/pages/template/drop-card/drop-card',
// '/pages/template/half-screen/half-screen', '/pages/template/half-screen/half-screen',
// '/pages/template/list-news/list-news', // 网络资源加载,单独测试例截图 // '/pages/template/list-news/list-news', // 网络资源加载,单独测试例截图
// '/pages/template/long-list/long-list', // 动态内容 // '/pages/template/long-list/long-list', // 动态内容
// '/pages/template/navbar-lite/navbar-lite', '/pages/template/navbar-lite/navbar-lite',
// '/pages/template/pull-zoom-image/pull-zoom-image', '/pages/template/pull-zoom-image/pull-zoom-image',
// '/pages/template/scroll-fold-nav/scroll-fold-nav', '/pages/template/scroll-fold-nav/scroll-fold-nav',
// '/pages/template/scroll-sticky/scroll-sticky', // '/pages/template/scroll-sticky/scroll-sticky',
// '/pages/template/swiper-list/swiper-list', '/pages/template/swiper-list/swiper-list',
// '/pages/template/swiper-list2/swiper-list2', '/pages/template/swiper-list2/swiper-list2',
// '/pages/template/swiper-vertical-video/swiper-vertical-video' // '/pages/template/swiper-vertical-video/swiper-vertical-video'
// api // api
...@@ -124,20 +126,8 @@ const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() ...@@ -124,20 +126,8 @@ const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
if ((platformInfo.startsWith('android') || platformInfo.startsWith('ios')) && !process.env.UNI_AUTOMATOR_APP_WEBVIEW) { 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/CSS/transition/transition",
'/pages/template/swiper-list/swiper-list',
'/pages/template/swiper-list2/swiper-list2',
'/pages/API/element-draw/element-draw', '/pages/API/element-draw/element-draw',
'/pages/template/navbar-lite/navbar-lite',
'/pages/template/pull-zoom-image/pull-zoom-image',
'/pages/template/scroll-fold-nav/scroll-fold-nav',
'/pages/template/scroll-sticky/scroll-sticky', '/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/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.
先完成此消息的编辑!
想要评论请 注册