diff --git a/pages/API/dialog-page/dialog-page.test.js b/pages/API/dialog-page/dialog-page.test.js index f43e4d863458024e3f5ec6a7415becbea13cb772..10017da988217b41953e0031f1b6ea9d4cf9be47 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