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

update list-view.test.js

上级 989cdc66
......@@ -89,7 +89,7 @@ describe('component-native-list-view', () => {
expect(endDetail.scrollTop).toBeGreaterThan(0)
expect(endDetail.scrollHeight).toBeGreaterThan(0)
// 在安卓端 "scrollWidth":0
// expect(endDetail.scrollWidth).toBeGreaterThan(0)
expect(endDetail.scrollWidth).toBeGreaterThan(0)
})
if(process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) {
......@@ -132,6 +132,8 @@ describe('component-native-list-view', () => {
})
await page.waitFor(2000)
expect(await page.data('refresherrefresh')).toBe(true)
//延迟 等待下拉刷新执行结束 防止后续测试任务结果异常
await page.waitFor(1000)
})
//检测竖向scroll_into_view属性赋值 备注:iOS本地测试结果正确,但是自动化测试结果错误
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册