From d758c1eac3caac3b4bf6f04a6718bb303c9707bc Mon Sep 17 00:00:00 2001 From: hdx Date: Wed, 18 Oct 2023 19:03:54 +0800 Subject: [PATCH] =?UTF-8?q?navigator=E7=BB=84=E4=BB=B6=E6=B5=8B=E8=AF=95:?= =?UTF-8?q?=20=E5=BB=B6=E9=95=BF=E8=B7=AF=E7=94=B1=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E7=AD=89=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/navigator/navigator.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/navigator/navigator.test.js b/pages/component/navigator/navigator.test.js index f424dded..3263e687 100644 --- a/pages/component/navigator/navigator.test.js +++ b/pages/component/navigator/navigator.test.js @@ -11,7 +11,7 @@ describe('navigator', () => { const btnNavigate = await page.$('.navigate') await btnNavigate.tap() - await page.waitFor(100) + await page.waitFor(300) const currentPage = await program.currentPage() expect(currentPage.path).toBe(PAGE_PATH_NAVIGATE.substring(1)) @@ -22,7 +22,7 @@ describe('navigator', () => { const btnRedirect = await page.$('.redirect') await btnRedirect.tap() - await page.waitFor(100) + await page.waitFor(300) const currentPage = await program.currentPage() expect(currentPage.path).toBe(PAGE_PATH_REDIRECT.substring(1)) -- GitLab