diff --git a/pages/component/list-view/list-view.test.js b/pages/component/list-view/list-view.test.js index 4d6a0f2c995688df22837c68bb9d6dadd13fb98f..7e0f62612d08b6bc44714b274e90d24d07b6b2bb 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') })