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

!9506 home的keyEvent功能已实现,对应测试用例调整

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