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

Update ucenter.test.js

上级 4e08e09e
...@@ -54,15 +54,15 @@ describe('ucenter', () => { ...@@ -54,15 +54,15 @@ describe('ucenter', () => {
} }
}) })
} }
it('screenshot',async()=>{ // it('screenshot',async()=>{
// await program.screenshot({ // await program.screenshot({
// path: "static/screenshot/ucenter.png" // path: "static/screenshot/ucenter.png"
// }) // })
const image = await program.screenshot({ // const image = await program.screenshot({
fullPage: true // fullPage: true
}) // })
expect(image).toSaveImageSnapshot(); // expect(image).toSaveImageSnapshot();
await page.waitFor(500); // await page.waitFor(500);
}) // })
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册