From bcaac514639f895f19dae50aa3df01db3403f966 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 10 Dec 2024 11:55:10 +0800 Subject: [PATCH] =?UTF-8?q?test(dialogPage):=20=E5=A2=9E=E5=8A=A0=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=97=B6=E9=97=B4=EF=BC=8C=E5=85=BC=E5=AE=B9=E4=BD=8E?= =?UTF-8?q?=E6=80=A7=E8=83=BD=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/dialog-page/dialog-page.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/API/dialog-page/dialog-page.test.js b/pages/API/dialog-page/dialog-page.test.js index f43e4d86..10017da9 100644 --- a/pages/API/dialog-page/dialog-page.test.js +++ b/pages/API/dialog-page/dialog-page.test.js @@ -151,6 +151,7 @@ describe('dialog page', () => { it('closeDialogPage', async () => { await page.callMethod('closeDialog') + await page.waitFor(1000) lifecycleNum = await page.callMethod('getLifeCycleNum') // 应触发 success & complete 回调 // 应触发 dialogPage 的 unload,下层的 dialogPage 会先 show 再 unload -- GitLab