From d178c8625e7d4ebff695407900e58baffefae8b8 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Sun, 28 Apr 2024 21:53:03 +0800 Subject: [PATCH] Update ucenter.test.js --- pages/ucenter/ucenter.test.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/ucenter/ucenter.test.js b/pages/ucenter/ucenter.test.js index 6293341..39326dd 100644 --- a/pages/ucenter/ucenter.test.js +++ b/pages/ucenter/ucenter.test.js @@ -54,15 +54,15 @@ describe('ucenter', () => { } }) } - it('screenshot',async()=>{ - // await program.screenshot({ - // path: "static/screenshot/ucenter.png" - // }) - const image = await program.screenshot({ - fullPage: true - }) - expect(image).toSaveImageSnapshot(); - await page.waitFor(500); - }) + // it('screenshot',async()=>{ + // await program.screenshot({ + // path: "static/screenshot/ucenter.png" + // }) + // const image = await program.screenshot({ + // fullPage: true + // }) + // expect(image).toSaveImageSnapshot(); + // await page.waitFor(500); + // }) }) -- GitLab