提交 0d242352 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

Merge branch 'dev' of https://gitcode.net/dcloud/hello-uni-app-x into dev

* 'dev' of https://gitcode.net/dcloud/hello-uni-app-x:
  update list-view/list-view.test.js 修复自动化失败问题
...@@ -47,7 +47,7 @@ describe('component-native-list-view', () => { ...@@ -47,7 +47,7 @@ describe('component-native-list-view', () => {
expect(scrollDetail.scrollWidth).toBeGreaterThan(0) expect(scrollDetail.scrollWidth).toBeGreaterThan(0)
expect(scrollDetail.deltaX).toBe(0) expect(scrollDetail.deltaX).toBe(0)
//此处可判断安卓issues:9121的问题 //此处可判断安卓issues:9121的问题
expect([300, 299.8095]).toContain(scrollDetail.deltaY); expect([300.1905, 300, 299.8095]).toContain(scrollDetail.deltaY);
expect(await page.data('isScrollTest')).toBe('scroll:Success') expect(await page.data('isScrollTest')).toBe('scroll:Success')
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册