提交 4f345a58 编写于 作者: Anne_LXM's avatar Anne_LXM

test(editor): 增加延时

上级 c870f385
......@@ -65,7 +65,7 @@ describe('editor.uvue', () => {
it('insertImage', async () => {
await page.callMethod('insertImage','https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni-app.png')
await page.waitFor(1200)
await page.waitFor(2000)
expect(await program.screenshot()).toSaveImageSnapshot();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册