提交 72b582cf 编写于 作者: 杜庆泉's avatar 杜庆泉

dix takesnapshot autotest 虚拟机测试失败的问题

上级 3ffd0037
......@@ -13,15 +13,15 @@ describe("element-takesnapshot", () => {
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
await page.waitFor(600);
await page.waitFor(1200);
});
it("takeSnapshot", async () => {
await page.waitFor(600)
await page.waitFor(1200)
let btnTakeSnapshot = await page.$('.btn-TakeSnapshot')
await btnTakeSnapshot.tap()
page.waitFor(600)
await page.waitFor(1200)
const image = await getData('snapImage')
console.log(image)
///storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__3584C99/cache/temp/screenshot/1697513148915.png
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册