diff --git a/pages/CSS/overflow/overflow.test.js b/pages/CSS/overflow/overflow.test.js index 31ec830ba1c36a6ec54c5d246224f864762f112a..d22653b6ce06b9b6c35237d4204aa4a5d178a075 100644 --- a/pages/CSS/overflow/overflow.test.js +++ b/pages/CSS/overflow/overflow.test.js @@ -8,6 +8,14 @@ describe('component-native-overflow', () => { //检测overflow设置hidden,visible it('check_view_overflow', async () => { + if (process.env.uniTestPlatformInfo.startsWith('android')) { + let version = process.env.uniTestPlatformInfo + version = parseInt(version.split(" ")[1]) + //安卓7模拟器不截图 导致闪退 + if(version == 7) { + return + } + } await page.waitFor(600) const image = await program.screenshot({ fullPage: true,