From 027fbdb1add6d0fcb03a30b072bdcdacb66ce426 Mon Sep 17 00:00:00 2001 From: yiludege Date: Wed, 28 Dec 2022 15:37:23 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E9=9B=86=E6=88=90?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/wujie-core/__test__/integration/degrade.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/wujie-core/__test__/integration/degrade.test.ts b/packages/wujie-core/__test__/integration/degrade.test.ts index 891b1b64..ad637424 100644 --- a/packages/wujie-core/__test__/integration/degrade.test.ts +++ b/packages/wujie-core/__test__/integration/degrade.test.ts @@ -10,6 +10,7 @@ describe("main react degrade", () => { localStorage.setItem("degrade", "true"); }); await page.goto("http://localhost:7700/"); + await page.waitForNavigation(); }); reactMainAppInfoList.forEach((appInfo) => @@ -31,6 +32,7 @@ describe("main vue degrade", () => { localStorage.setItem("degrade", "true"); }); await page.goto("http://localhost:8000/"); + await page.waitForNavigation(); }); vueMainAppInfoList.forEach((appInfo) =>