From ae840ac1d95af5e8b4cc02058bf7f710620c620c Mon Sep 17 00:00:00 2001 From: taohebin Date: Thu, 31 Oct 2024 11:30:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0border=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=88=AA=E5=9B=BE=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/CSS/border/border.test.js | 12 ++++++++++++ pages/pages.test.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 pages/CSS/border/border.test.js diff --git a/pages/CSS/border/border.test.js b/pages/CSS/border/border.test.js new file mode 100644 index 00000000..b5473437 --- /dev/null +++ b/pages/CSS/border/border.test.js @@ -0,0 +1,12 @@ +describe('css-border', () => { + let page; + beforeAll(async () => { + page = await program.reLaunch("/pages/CSS/border/border") + await page.waitFor(2000); + }); + + it('Check Border Wait Screenshot', async () => { + const image = await program.screenshot({fullPage: true}); + expect(image).toSaveImageSnapshot(); + }); +}); diff --git a/pages/pages.test.js b/pages/pages.test.js index 8e370a30..a4e0f083 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -170,7 +170,7 @@ const pages = [ '/pages/CSS/background/background-color', // 单独测试例中截图 // '/pages/CSS/background/background-image', - '/pages/CSS/border/border', + // '/pages/CSS/border/border', '/pages/CSS/border/border-color', '/pages/CSS/border/border-top', '/pages/CSS/border/border-bottom', -- GitLab