diff --git a/testfwk/uitest/src/main/ets/test/uitest.test.ets b/testfwk/uitest/src/main/ets/test/uitest.test.ets index 1d77e02e6ad2ee9e2bd9c1052f76a17de6e836a9..0bb7e05432ce5984db38ca704b33f38802c30f61 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') })