From ad8dc1886422923d8589591418bdf77f6291b24b Mon Sep 17 00:00:00 2001 From: shutao Date: Tue, 2 Jul 2024 20:09:07 +0800 Subject: [PATCH] =?UTF-8?q?update=20list-view.test.js=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=87=BD=E6=95=B0=E9=94=99=E8=AF=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/list-view/list-view.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/list-view/list-view.test.js b/pages/component/list-view/list-view.test.js index 2dd804b2..e43bf526 100644 --- a/pages/component/list-view/list-view.test.js +++ b/pages/component/list-view/list-view.test.js @@ -62,7 +62,7 @@ describe('component-native-list-view', () => { it('Event scrolltoupper-滚动到顶部/左边',async()=>{ // 滚动到顶部50,是否触发scrolltoupper事件 - await page.callMethod('confirm_scroll_top_input', 50) + await page.callMethod('confirm_scroll_left_input', 50) await page.waitFor(1000) expect(await page.data('isScrolltoupperTest')).toBe('scrolltoupper:Success-top') }) -- GitLab