提交 22d5663f 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor: 调整部分示例页面路径

上级 213988d9
...@@ -314,27 +314,27 @@ ...@@ -314,27 +314,27 @@
} }
}, },
{ {
"path": "pages/component/general-attribute/general-attribute", "path": "pages/component/public-properties/public-properties",
"style": { "style": {
"navigationBarTitleText": "general-attribute" "navigationBarTitleText": "public-properties"
} }
}, },
{ {
"path": "pages/component/general-event/general-event", "path": "pages/component/public-events/public-events",
"style": { "style": {
"navigationBarTitleText": "general-event" "navigationBarTitleText": "public-events"
} }
}, },
{ {
"path": "pages/component/general-event/transition-event", "path": "pages/component/public-events/transition-events",
"style": { "style": {
"navigationBarTitleText": "transitionend事件" "navigationBarTitleText": "transitionend事件"
} }
}, },
{ {
"path": "pages/component/general-event/touch-event", "path": "pages/component/public-events/touch-events",
"style": { "style": {
"navigationBarTitleText": "touch-event" "navigationBarTitleText": "touch-events"
} }
}, },
{ {
......
const PAGE_PATH = '/pages/component/general-event/general-event' const PAGE_PATH = '/pages/component/public-events/public-events'
describe('event trigger', () => { describe('event trigger', () => {
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
describe('transition event', () => { describe('transition event', () => {
let page; let page;
beforeAll(async () => { beforeAll(async () => {
page = await program.reLaunch('/pages/component/general-event/transition-event') page = await program.reLaunch('/pages/component/public-events/transition-events')
await page.waitFor(3000); await page.waitFor(3000);
}); });
......
const PAGE_PATH = '/pages/component/general-attribute/general-attribute' const PAGE_PATH = '/pages/component/public-properties/public-properties'
describe('general attribute', () => { describe('general attribute', () => {
let page let page
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<text class="btn-inner">{{ validateGeneralAttrText }}</text> <text class="btn-inner">{{ validateGeneralAttrText }}</text>
</view> </view>
<view class="btn btn-ref uni-common-mt" @click="changeHeight"> <view class="btn btn-ref uni-common-mt" @click="changeHeight">
<text class="btn-inner">{{changeHeightByRefText}}</text> <text class="btn-inner">{{ changeHeightByRefText }}</text>
</view> </view>
<view class="view-class" :hover-class="hoverClass" ref="view-target"> <view class="view-class" :hover-class="hoverClass" ref="view-target">
<text class="text">按下 50 ms 后背景变红</text> <text class="text">按下 50 ms 后背景变红</text>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
export default { export default {
data() { data() {
return { return {
title: 'general-attribute', title: 'public-properties',
generalId: 'general-id', generalId: 'general-id',
generalClass: 'general-class', generalClass: 'general-class',
generalName: 'general-name', generalName: 'general-name',
......
...@@ -83,10 +83,10 @@ const pages = [ ...@@ -83,10 +83,10 @@ const pages = [
// '/pages/component/unicloud-db/unicloud-db/contacts/detail', // '/pages/component/unicloud-db/unicloud-db/contacts/detail',
'/pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom', '/pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom',
// 单独测试例截图 // 单独测试例截图
// '/pages/component/general-attribute/general-attribute', // '/pages/component/public-properties/public-properties',
'/pages/component/general-event/general-event', '/pages/component/public-events/public-events',
'/pages/component/general-event/transition-event', '/pages/component/public-events/transition-events',
'/pages/component/general-event/touch-event', '/pages/component/public-events/touch-events',
// 单独测试例截图 // 单独测试例截图
// '/pages/component/nested-scroll-header/nested-scroll-header', // '/pages/component/nested-scroll-header/nested-scroll-header',
// 单独测试例截图 // 单独测试例截图
...@@ -349,7 +349,7 @@ function getWaitForTagName(pagePath) { ...@@ -349,7 +349,7 @@ function getWaitForTagName(pagePath) {
return 'video' return 'video'
} }
if ( if (
pagePath === '/pages/component/general-event/transition-event' || pagePath === '/pages/component/public-events/transition-events' ||
pagePath === '/pages/component/list-view/list-view-refresh' || pagePath === '/pages/component/list-view/list-view-refresh' ||
pagePath === '/pages/API/env/env' pagePath === '/pages/API/env/env'
) { ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册