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

Revert "feat: 增加border更新自动化测试例"

This reverts commit 9fd46418.
上级 9fd46418
...@@ -1248,13 +1248,6 @@ ...@@ -1248,13 +1248,6 @@
"navigationBarTitleText": "border动态修改" "navigationBarTitleText": "border动态修改"
} }
}, },
{
"path": "pages/CSS/border/border-update",
"group": "2,13",
"style": {
"navigationBarTitleText": "border更新样式"
}
},
{ {
"path": "pages/CSS/box-shadow/box-shadow", "path": "pages/CSS/box-shadow/box-shadow",
"group": "2,15", "group": "2,15",
......
describe('css-border-update', () => {
let page;
let res;
beforeAll(async () => {
page = await program.reLaunch("/pages/CSS/border/border-update")
await page.waitFor(600);
});
it('Check Border Update', async () => {
await page.callMethod('jest_border_update')
await page.waitFor(100)
const image = await program.screenshot({fullPage: true});
expect(image).toSaveImageSnapshot();
});
});
...@@ -16,14 +16,6 @@ ...@@ -16,14 +16,6 @@
const handleUpdate = () => { const handleUpdate = () => {
borderStyle.value = "border:7px solid red;" borderStyle.value = "border:7px solid red;"
} }
const jest_border_update = ()=>{
handleUpdate()
}
defineExpose({
jest_border_update
})
</script> </script>
<style> <style>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册