From 601b42d47fa7dfa823386e5215737caf1d9fb7c6 Mon Sep 17 00:00:00 2001 From: z00445003 Date: Thu, 20 Oct 2022 16:10:30 +0800 Subject: [PATCH] fixed ba1e083 from https://gitee.com/zhoujun62/xts_acts/pulls/5987 Solve XTS ActsOnAndOffScreenTest fail problem Signed-off-by: z00445003 Change-Id: I5f86999e703a9121b659d2d793ba5c7bb2febbff --- .../entry/src/main/ets/test/OnAndOffScreenTest.test.ets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/ets/test/OnAndOffScreenTest.test.ets b/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/ets/test/OnAndOffScreenTest.test.ets index 812613020..28609b4f6 100644 --- a/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/ets/test/OnAndOffScreenTest.test.ets +++ b/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/ets/test/OnAndOffScreenTest.test.ets @@ -55,6 +55,7 @@ export default function OnAndOffScreenTest() { }) async function slideScreen(TAG) { + await sleep(1500) console.log(TAG + "slideScreen start"); let cmd = 'uinput -T -d 300 600 -m 300 600 300 100 -u 300 100'; await executeShellCommand(cmd, TAG); @@ -634,4 +635,4 @@ export default function OnAndOffScreenTest() { }) }) }) -} \ No newline at end of file +} -- GitLab