提交 66ff21c8 编写于 作者: shutao-dc's avatar shutao-dc

update list-view.test.js 修复测试函数错误问题

上级 6207dc86
...@@ -66,7 +66,7 @@ describe('component-native-list-view', () => { ...@@ -66,7 +66,7 @@ describe('component-native-list-view', () => {
it('Event scrolltoupper-滚动到顶部/左边',async()=>{ it('Event scrolltoupper-滚动到顶部/左边',async()=>{
// 滚动到顶部50,是否触发scrolltoupper事件 // 滚动到顶部50,是否触发scrolltoupper事件
await page.callMethod('confirm_scroll_top_input', 50) await page.callMethod('confirm_scroll_left_input', 50)
await page.waitFor(2000) await page.waitFor(2000)
expect(await page.data('isScrolltoupperTest')).toBe('scrolltoupper:Success-top') expect(await page.data('isScrolltoupperTest')).toBe('scrolltoupper:Success-top')
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册