From fdf4364cfc542bcada9750b1a6101fb207bbef47 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Wed, 3 Jul 2024 16:56:03 +0800 Subject: [PATCH] =?UTF-8?q?test(variable):=20=E8=A7=84=E9=81=BF=20web-view?= =?UTF-8?q?=20=E6=A8=A1=E5=BC=8F=E6=88=AA=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/CSS/variable/variable.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/CSS/variable/variable.test.js b/pages/CSS/variable/variable.test.js index e323f516..948eaf5d 100644 --- a/pages/CSS/variable/variable.test.js +++ b/pages/CSS/variable/variable.test.js @@ -1,4 +1,10 @@ describe('css-variable', () => { + if (process.env.UNI_AUTOMATOR_APP_WEBVIEW) { + it('app 与 web 存在差异, webview 不进行截图', () => { + expect(1).toBe(1) + return + }) + } let page; beforeAll(async () => { page = await program.reLaunch('/pages/CSS/variable/variable'); -- GitLab