提交 49ea6f79 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

调整模拟手势的示例优先跑自动化测试,避免受其他示例影响

(cherry picked from commit 8e5e508f)
上级 fd7cd0bc
...@@ -48,7 +48,7 @@ describe('component-native-scroll-view-refresher', () => { ...@@ -48,7 +48,7 @@ describe('component-native-scroll-view-refresher', () => {
await program.swipe({ await program.swipe({
startPoint: {x: 100,y: 500}, startPoint: {x: 100,y: 500},
endPoint: {x: 100,y: 630}, endPoint: {x: 100,y: 630},
duration: 1000 duration: 100
}) })
}else if(isAndroid){ }else if(isAndroid){
await program.swipe({ await program.swipe({
......
...@@ -4,7 +4,9 @@ const sortTestFilePaths = [ ...@@ -4,7 +4,9 @@ const sortTestFilePaths = [
"pages/API/pull-down-refresh/pull-down-refresh.test.js", "pages/API/pull-down-refresh/pull-down-refresh.test.js",
"pages/component/global-events/global-events.test.js", "pages/component/global-events/global-events.test.js",
"pages/component/list-view/list-view-refresh.test.js", "pages/component/list-view/list-view-refresh.test.js",
"pages/component/rich-text/rich-text-complex.test.js" "pages/component/rich-text/rich-text-complex.test.js",
"pages/component/scroll-view/scroll-view-refresher.test.js",
"pages/component/global-events/touch-events.test.js"
] ]
class CustomSequencer extends Sequencer { class CustomSequencer extends Sequencer {
sort(tests) { sort(tests) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册