diff --git a/pages/component/sticky-section/sticky-section.test.js b/pages/component/sticky-section/sticky-section.test.js index 459755783818e631581496d24eda96971a2d39f0..720f93d24096afea249e6a33a0ccb03afb324e4c 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(); }) -}) +})