diff --git a/pages/component/scroll-view/scroll-view-refresher.test.js b/pages/component/scroll-view/scroll-view-refresher.test.js index b4a8209b41f641642162cd0a3d2e297117f5f586..930ce491305b2cf5c72abbf9b57315b621e93b2a 100644 --- a/pages/component/scroll-view/scroll-view-refresher.test.js +++ b/pages/component/scroll-view/scroll-view-refresher.test.js @@ -38,7 +38,7 @@ describe('component-native-scroll-view-refresher', () => { expect(await page.data('onRefresherrestoreTest')).toBe('refresherrestore:Success') }); - // 仅App端支持手势下拉刷新,在不同设备上位置有差异可能导致不触发中止事件,安卓端仅测android 10 + // 仅App端支持手势下拉刷新,在不同设备上位置有差异可能导致不触发中止事件,安卓端仅测android 10.0.0_x86 if(!process.env.uniTestPlatformInfo.startsWith('web')){ it('check_refresherabort', async () => { await program.swipe({ @@ -49,7 +49,7 @@ describe('component-native-scroll-view-refresher', () => { await page.waitFor(1500) console.log(process.env.uniTestPlatformInfo,'onRefresherabortTest',await page.data('onRefresherabortTest')) // 下拉刷新被中止,在iOS不触发@refresherabort事件 - if(process.env.uniTestPlatformInfo.startsWith('android 10')){ + if(process.env.uniTestPlatformInfo.startsWith('android 10.0.0_x86')){ expect(await page.data('onRefresherabortTest')).toBe('refresherabort:Success') } });