From d4f273aab36e9487d8cccfdad16212d3a37ac5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=9F=AF?= Date: Wed, 26 Jul 2023 08:53:28 +0000 Subject: [PATCH] update testfwk/uitest/src/main/ets/test/uitest.test.ets. git commit -sm "modify.Signed-off-by: ". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周柯 --- testfwk/uitest/src/main/ets/test/uitest.test.ets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testfwk/uitest/src/main/ets/test/uitest.test.ets b/testfwk/uitest/src/main/ets/test/uitest.test.ets index 1d77e02e6..0bb7e0543 100644 --- a/testfwk/uitest/src/main/ets/test/uitest.test.ets +++ b/testfwk/uitest/src/main/ets/test/uitest.test.ets @@ -1660,8 +1660,9 @@ export default function UiTest() { let driver = Driver.create() await driver.delayMs(waitUiReadyMs) await driver.pressHome() + await driver.delayMs(1000) let button = await driver.findComponent(ON.text('next page')) - expect(button != null).assertTrue() + expect(button == null).assertTrue() await stopApplication('com.uitestScene.acts') }) -- GitLab