diff --git a/pages/component/list-view/list-view.test.js b/pages/component/list-view/list-view.test.js index 07525b2cee531b73ac08b46a699123f52810efb2..fc9c96020c0dfb1ac5d998d6fbdc988487496518 100644 --- a/pages/component/list-view/list-view.test.js +++ b/pages/component/list-view/list-view.test.js @@ -47,7 +47,7 @@ describe('component-native-list-view', () => { expect(scrollDetail.scrollWidth).toBeGreaterThan(0) expect(scrollDetail.deltaX).toBe(0) //此处可判断安卓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') })