提交 f84e5085 编写于 作者: shutao-dc's avatar shutao-dc

暂时屏蔽android7对overflow截图 临时解决android7闪退问题

上级 f654ab7a
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册