diff --git a/pages/component/sticky-section/sticky-section.test.js b/pages/component/sticky-section/sticky-section.test.js index 8312b3b1f5c76d981cda315dcd70f4e7aa5e29a4..9af444fd809232cc30a29f181526d099001fca09 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') }