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 8b1994ebac6db56add8a511f9edf68e2a3479e6e..2ec8e68628a02cbd6acbd77f12ccf8e21652d227 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 +}