提交 3378ab74 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

feat: 增加border自动截图示例

上级 856c93a3
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();
});
});
......@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册