From ba1e083062ea2e1c19da4a5cec657b8a1c7ebb79 Mon Sep 17 00:00:00 2001 From: z00445003 Date: Thu, 20 Oct 2022 16:10:30 +0800 Subject: [PATCH] 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 8b1994eba..2ec8e6862 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 @@ -52,6 +52,7 @@ export default function OnAndOffScreenTest() { }) async function slideScreen(TAG) { + await sleep(1500) console.log(TAG + "slideScreen start"); var driver = UiDriver.create(); await driver.swipe(1000, 3000, 1000, 500, 1200); @@ -631,4 +632,4 @@ export default function OnAndOffScreenTest() { }) }) }) -} \ No newline at end of file +} -- GitLab