未验证 提交 499ad6ee 编写于 作者: O openharmony_ci 提交者: Gitee

!5991 Solve XTS ActsOnAndOffScreenTest fail problem

Merge pull request !5991 from zhoujun62/cherry-pick-1666255360
...@@ -55,6 +55,7 @@ export default function OnAndOffScreenTest() { ...@@ -55,6 +55,7 @@ export default function OnAndOffScreenTest() {
}) })
async function slideScreen(TAG) { async function slideScreen(TAG) {
await sleep(1500)
console.log(TAG + "slideScreen start"); console.log(TAG + "slideScreen start");
let cmd = 'uinput -T -d 300 600 -m 300 600 300 100 -u 300 100'; let cmd = 'uinput -T -d 300 600 -m 300 600 300 100 -u 300 100';
await executeShellCommand(cmd, TAG); await executeShellCommand(cmd, TAG);
...@@ -634,4 +635,4 @@ export default function OnAndOffScreenTest() { ...@@ -634,4 +635,4 @@ export default function OnAndOffScreenTest() {
}) })
}) })
}) })
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册