提交 136f216e 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 优化通用属性截图测试时机

上级 f3eb4fab
......@@ -20,6 +20,7 @@ describe('general attribute', () => {
it("ref", async () => {
const button = await page.$(".btn-ref");
await button.tap();
await page.waitFor(1000);
const image = await program.screenshot();
expect(image).toMatchImageSnapshot();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册