提交 eeb6c047 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

get-native-view 测试脚本屏蔽 iOS 低版本

上级 105362ef
......@@ -4,7 +4,22 @@ describe('get-native-view', () => {
expect(1).toBe(1)
})
return
}
}
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
if (
platformInfo.indexOf('14.5') != -1 ||
platformInfo.indexOf('13.7') != -1 ||
platformInfo.indexOf('12.4') != -1
) {
// TODO: 排查 ios 不兼容版本 测试异常原因
it('14.5 13.7 12.4 测试异常', () => {
expect(1).toBe(1)
})
return
}
let page
beforeAll(async () => {
page = await program.reLaunch('/pages/API/get-native-view/element-getnativeview')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册