diff --git a/pages/CSS/border/border.test.js b/pages/CSS/border/border.test.js new file mode 100644 index 0000000000000000000000000000000000000000..b54734378c3af4ba60f8eb6c1091a061e564dffb --- /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 8e370a305636410bb9416a7b6461427fa5ee80d6..a4e0f0832314f52e0f0ef1d288405de37a53df5d 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',