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

!6226 uitest xts用例调整

Merge pull request !6226 from 周柯/master
...@@ -1542,8 +1542,8 @@ export default function UiTest() { ...@@ -1542,8 +1542,8 @@ export default function UiTest() {
try { try {
await window1.split() await window1.split()
await driver.delayMs(waitUiReadyMs) await driver.delayMs(waitUiReadyMs)
let window2 = await driver.findWindow({bundleName:'com.ohos.systemui'}) let bar = await driver.findComponent(ON.type('DecorBar'))
expect(window2 == null).assertTrue() expect(bar == null).assertTrue()
} }
catch (err) { catch (err) {
if (err.message == 'this device can not support this action') { if (err.message == 'this device can not support this action') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册