diff --git a/pages/component/swiper/swiper.test.js b/pages/component/swiper/swiper.test.js index ebbf0e5d6f62b7e7b62f51fafcfd394b6568d573..917e9f4da6aa4c5a007b6ee8b2edd4f55159f65d 100644 --- a/pages/component/swiper/swiper.test.js +++ b/pages/component/swiper/swiper.test.js @@ -38,7 +38,7 @@ describe('test swiper', () => { }) await page.waitFor(600) expect(await getData('currentValChange')).toEqual(0) - await page.waitFor(1800) + await page.waitFor(1600) expect(await getData('currentValChange')).toEqual(1) await page.waitFor(2000) expect(await getData('currentValChange')).toEqual(2) @@ -50,11 +50,11 @@ describe('test swiper', () => { }) await page.waitFor(600) expect(await getData('currentValChange')).toEqual(0) - await page.waitFor(1800) + await page.waitFor(1600) expect(await getData('currentValChange')).toEqual(1) - await page.waitFor(1800) + await page.waitFor(2000) expect(await getData('currentValChange')).toEqual(2) - await page.waitFor(1800) + await page.waitFor(2000) expect(await getData('currentValChange')).toEqual(0) await page.setData({ circularSelect: false,