From dff61ecb098374171b76588ac70e9387729b5b90 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 27 Mar 2024 13:20:10 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=B1=8F=E8=94=BDweb=E7=AB=AFlist-view?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E5=88=B0id=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/sticky-section/sticky-section.test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/component/sticky-section/sticky-section.test.js b/pages/component/sticky-section/sticky-section.test.js index 45975578..720f93d2 100644 --- a/pages/component/sticky-section/sticky-section.test.js +++ b/pages/component/sticky-section/sticky-section.test.js @@ -10,7 +10,11 @@ describe('component-native-sticky-section', () => { await page.callMethod('listViewScrollByY', 1000) const image = await program.screenshot(); expect(image).toMatchImageSnapshot(); - }) + }) + + if (process.env.uniTestPlatformInfo.startsWith('web')) { + return + } it('check_goto_sticky_header', async () => { //滚动回顶部 @@ -29,4 +33,4 @@ describe('component-native-sticky-section', () => { const image = await program.screenshot(); expect(image).toMatchImageSnapshot(); }) -}) +}) -- GitLab