提交 3bceba63 编写于 作者: 杜庆泉's avatar 杜庆泉

Revert "swiper 测试示例 修改autoplay 测试逻辑,对齐web"

This reverts commit 6c7e4f70.
上级 6c7e4f70
...@@ -38,14 +38,14 @@ describe('test swiper', () => { ...@@ -38,14 +38,14 @@ describe('test swiper', () => {
await page.waitFor(2000) await page.waitFor(2000)
expect(await getData('currentValChange')).toEqual(1) expect(await getData('currentValChange')).toEqual(1)
await page.waitFor(5000) await page.waitFor(5000)
expect(await getData('currentValChange')).toEqual(0) expect(await getData('currentValChange')).toEqual(2)
await page.setData({ await page.setData({
circularSelect: true circularSelect: true
}) })
expect(await getData('currentValChange')).toEqual(2)
await page.waitFor(1000)
expect(await getData('currentValChange')).toEqual(0) expect(await getData('currentValChange')).toEqual(0)
await page.waitFor(2000)
expect(await getData('currentValChange')).toEqual(1)
await page.setData({ await page.setData({
circularSelect: false, circularSelect: false,
autoplaySelect: false autoplaySelect: false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册