提交 3666a2d5 编写于 作者: 周柯

fixed d4f273aa from https://gitee.com/zhou-ke-0929/xts_acts_1/pulls/9506

update testfwk/uitest/src/main/ets/test/uitest.test.ets.
git commit -sm  "modify.Signed-off-by: <zhouke35@huawei.com>".
Signed-off-by: N周柯 <zhouke35@huawei.com>
上级 8ae437f5
...@@ -1660,8 +1660,9 @@ export default function UiTest() { ...@@ -1660,8 +1660,9 @@ export default function UiTest() {
let driver = Driver.create() let driver = Driver.create()
await driver.delayMs(waitUiReadyMs) await driver.delayMs(waitUiReadyMs)
await driver.pressHome() await driver.pressHome()
await driver.delayMs(1000)
let button = await driver.findComponent(ON.text('next page')) let button = await driver.findComponent(ON.text('next page'))
expect(button != null).assertTrue() expect(button == null).assertTrue()
await stopApplication('com.uitestScene.acts') await stopApplication('com.uitestScene.acts')
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册