diff --git a/pages/API/load-font-face/load-font-face.test.js b/pages/API/load-font-face/load-font-face.test.js index df73df3320f6379f9183248ec5506fe3cf4a0158..abd45b995562159d3918c1f9077865572ef9a472 100644 --- a/pages/API/load-font-face/load-font-face.test.js +++ b/pages/API/load-font-face/load-font-face.test.js @@ -4,7 +4,7 @@ const CHILD_PAGE_PATH = "/pages/API/load-font-face/load-font-face-child"; describe("loadFontFace", () => { beforeAll(async () => { const page = await program.navigateTo(PAGE_PATH); - await page.waitFor(3000); + await page.waitFor(4000); }); it("parent screenshot", async () => { const image = await program.screenshot(); @@ -12,7 +12,7 @@ describe("loadFontFace", () => { }); it("child screenshot", async () => { const page = await program.navigateTo(CHILD_PAGE_PATH); - await page.waitFor("view"); + await page.waitFor(1000); const image = await program.screenshot(); expect(image).toMatchImageSnapshot(); });