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

update list-view.test.js 添加注释

上级 4a7337d3
......@@ -45,7 +45,8 @@ describe('component-native-list-view', () => {
expect([300, 299.8095]).toContain(scrollDetail.scrollTop);
expect(scrollDetail.scrollHeight).toBeGreaterThan(0)
expect(scrollDetail.scrollWidth).toBeGreaterThan(0)
expect(scrollDetail.deltaX).toBe(0)
expect(scrollDetail.deltaX).toBe(0)
//此处可判断安卓issues:9121的问题
expect([300, 299.8095]).toContain(scrollDetail.deltaY);
expect(await page.data('isScrollTest')).toBe('scroll:Success')
})
......@@ -160,5 +161,5 @@ describe('component-native-list-view', () => {
console.log("check_scroll_into_view_left--"+scrollLeft)
await page.callMethod('item_change_size_enum', 0)
expect(scrollLeft-1080).toBeGreaterThanOrEqual(0)
})
})
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册