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

Revert "update list-view.test.js"

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