From 12a6e617191d7025d30da9ebcb7be1da1609b919 Mon Sep 17 00:00:00 2001 From: shutao Date: Tue, 2 Jul 2024 12:03:51 +0800 Subject: [PATCH] Revert "update list-view.test.js" This reverts commit 6637c2cdc946266556a6f67cabaa1a9964369638. --- pages/component/list-view/list-view.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pages/component/list-view/list-view.test.js b/pages/component/list-view/list-view.test.js index a358d3e6..8c139c6e 100644 --- a/pages/component/list-view/list-view.test.js +++ b/pages/component/list-view/list-view.test.js @@ -91,7 +91,7 @@ describe('component-native-list-view', () => { expect(endDetail.scrollTop).toBeGreaterThan(0) expect(endDetail.scrollHeight).toBeGreaterThan(0) // 在安卓端 "scrollWidth":0 - expect(endDetail.scrollWidth).toBeGreaterThan(0) + // expect(endDetail.scrollWidth).toBeGreaterThan(0) }) if(process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { @@ -134,8 +134,6 @@ describe('component-native-list-view', () => { }) await page.waitFor(2000) expect(await page.data('refresherrefresh')).toBe(true) - //延迟 等待下拉刷新执行结束 防止后续测试任务结果异常 - await page.waitFor(1000) }) //检测竖向scroll_into_view属性赋值 备注:iOS本地测试结果正确,但是自动化测试结果错误 -- GitLab