From d55b8d7fa2e697c9029b9e26c4cfb3a49812e614 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 28 Nov 2023 21:06:05 +0800 Subject: [PATCH] =?UTF-8?q?test(globalProperties):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/globalProperties/globalProperties.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/API/globalProperties/globalProperties.test.js b/pages/API/globalProperties/globalProperties.test.js index 0e787f5d..621a39b2 100644 --- a/pages/API/globalProperties/globalProperties.test.js +++ b/pages/API/globalProperties/globalProperties.test.js @@ -50,7 +50,8 @@ describe('globalProperties', () => { }) expect(data.globalPropertiesFnRes).toBe('globalPropertiesStr: new string, globalPropertiesNum: 100') }) - it('screenshot', async () => { + it('screenshot', async () => { + await page.waitFor(500) const image = await program.screenshot({ fullPage: true }); -- GitLab