From f84e50850ce15e6be303e5c8ab452f98fae59767 Mon Sep 17 00:00:00 2001 From: shutao Date: Thu, 1 Feb 2024 17:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=B1=8F=E8=94=BDandroid7?= =?UTF-8?q?=E5=AF=B9overflow=E6=88=AA=E5=9B=BE=20=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E8=A7=A3=E5=86=B3android7=E9=97=AA=E9=80=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/CSS/overflow/overflow.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/CSS/overflow/overflow.test.js b/pages/CSS/overflow/overflow.test.js index 31ec830b..d22653b6 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, -- GitLab