提交 7db440cb 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test(load-font-face): 优化测试例

上级 17fe6c55
...@@ -12,7 +12,7 @@ describe("loadFontFace", () => { ...@@ -12,7 +12,7 @@ describe("loadFontFace", () => {
}); });
it("child screenshot", async () => { it("child screenshot", async () => {
const page = await program.navigateTo(CHILD_PAGE_PATH); const page = await program.navigateTo(CHILD_PAGE_PATH);
await page.waitFor(1000); await page.waitFor(3000);
const image = await program.screenshot(); const image = await program.screenshot();
expect(image).toMatchImageSnapshot(); expect(image).toMatchImageSnapshot();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册