From 8ee2c02770931996cf78c6be5b7097e641af9aab Mon Sep 17 00:00:00 2001 From: DCloud-XHY Date: Fri, 29 Mar 2024 21:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20sticky-section.test=20?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/sticky-section/sticky-section.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/sticky-section/sticky-section.test.js b/pages/component/sticky-section/sticky-section.test.js index 8312b3b1..9af444fd 100644 --- a/pages/component/sticky-section/sticky-section.test.js +++ b/pages/component/sticky-section/sticky-section.test.js @@ -23,7 +23,7 @@ describe('component-native-sticky-section', () => { await page.setData({ scrolling: 'true' }) - if (process.env.uniTestPlatformInfo.startsWith('android') && !process.env.UNI_AUTOMATOR_APP_WEBVIEW) { + if (!process.env.UNI_AUTOMATOR_APP_WEBVIEW) { //跳转到id为C的StickyHeader位置 await page.callMethod('gotoStickyHeader', 'C') } -- GitLab