提交 254203d1 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 修复 safari 测试兼容问题

上级 2d75a04a
......@@ -48,6 +48,7 @@ describe('page-lifecycle', () => {
})
it('onPageScroll onReachBottom', async () => {
await program.pageScrollTo(2000)
await page.waitFor(1000)
const data = await page.data()
expect(data.isScrolled).toBe(true)
lifeCycleNum = await page.callMethod('getLifeCycleNum')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册