提交 110d5ddf 编写于 作者: D du-zhihai

continuationManager测试套UI自动点击添加亮屏解锁

Signed-off-by: Ndu-zhihai <duzhihai@huawei.com>
Change-Id: I4fb93172fa8b66714efd3bf4fa8f8f40a1ed7998
上级 22cbb32a
......@@ -14,6 +14,14 @@
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"power-shell wakeup",
"power-shell setmode 602",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
]
}
]
}
\ No newline at end of file
......@@ -42,7 +42,7 @@ async function clickPermission(driver) {
data_sync_allow = await driver.findComponent(BY.text("允许"))
wait_count += 1
await driver.delayMs(1000)
if (wait_count == 3) {
if (wait_count == 15) {
break
}
}
......
......@@ -27,7 +27,7 @@ describe('continuationManagerTest', function() {
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
await sleep(5000)
await sleep(20000)
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册