提交 a5327a21 编写于 作者: shutao-dc's avatar shutao-dc

update list-view-refresh.test.js

上级 ed81800c
...@@ -34,10 +34,12 @@ describe('component-native-list-view-refresh', () => { ...@@ -34,10 +34,12 @@ describe('component-native-list-view-refresh', () => {
expect(await page.data('onRefresherpullingTest')).toBe('refresherpulling:Success') expect(await page.data('onRefresherpullingTest')).toBe('refresherpulling:Success')
expect(await page.data('refresherrefreshTest')).toBe('refresherrefresh:Success') expect(await page.data('refresherrefreshTest')).toBe('refresherrefresh:Success')
await page.waitFor(1000); await page.waitFor(1000);
expect(await page.data('onRefresherrestoreTest')).toBe('refresherrestore:Success') expect(await page.data('onRefresherrestoreTest')).toBe('refresherrestore:Success')
}) })
it('check_refresherabort', async () => { it('check_refresherabort', async () => {
//部分安卓设备需要延迟一段时间swipe才生效 此处暂时延迟1秒
await page.waitFor(1000);
// 仅App端支持手势下拉刷新 // 仅App端支持手势下拉刷新
await program.swipe({ await program.swipe({
startPoint: {x: 100,y: 400}, startPoint: {x: 100,y: 400},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册