未验证 提交 eada62a1 编写于 作者: O openharmony_ci 提交者: Gitee

!9507 home的keyEvent功能已实现,对应测试用例调整,for 4.0beta 2

Merge pull request !9507 from 周柯/cherry-pick-1690361760
...@@ -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.
先完成此消息的编辑!
想要评论请 注册