提交 8f4087c5 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整 overflow-visible-event.test.js 自动化脚本。

上级 5021d72f
...@@ -100,16 +100,4 @@ describe('/pages/CSS/overflow/overflow-visible-event.uvue', () => { ...@@ -100,16 +100,4 @@ describe('/pages/CSS/overflow/overflow-visible-event.uvue', () => {
res = await page.data('jest_result'); res = await page.data('jest_result');
expect(res).toBe(true) expect(res).toBe(true)
}) })
it('Check Overflow Visible Deep Level Click', async () => {
await page.callMethod('jest_scrollToDeepOverflow')
await page.waitFor(500);
const point_x = await page.data('jest_click_x');
const point_y = await page.data('jest_click_y');
console.log("input tap" + " " + point_x + " " + point_y);
await program.adbCommand("input tap" + " " + point_x + " " + point_y)
await page.waitFor(500);
res = await page.data('jest_result');
expect(res).toBe(true)
})
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册