diff --git a/pages/component/list-view/list-view-refresh.test.js b/pages/component/list-view/list-view-refresh.test.js index bf4cea95147acc5c477336a57559a1c83cbe9dcc..4c33fcdefa175f269f4d040d6310031e1ca2257c 100644 --- a/pages/component/list-view/list-view-refresh.test.js +++ b/pages/component/list-view/list-view-refresh.test.js @@ -34,10 +34,12 @@ describe('component-native-list-view-refresh', () => { expect(await page.data('onRefresherpullingTest')).toBe('refresherpulling:Success') expect(await page.data('refresherrefreshTest')).toBe('refresherrefresh:Success') 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端支持手势下拉刷新 await program.swipe({ startPoint: {x: 100,y: 400},