From c0f595fc1d90bed97ccadb1a384297d715b00399 Mon Sep 17 00:00:00 2001 From: zhouke Date: Fri, 28 Oct 2022 15:50:00 +0800 Subject: [PATCH] =?UTF-8?q?arkXtest=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E8=B0=83=E6=95=B4.Signed-off-by:=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouke --- arkXtest/uitest/src/main/ets/test/uitest.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arkXtest/uitest/src/main/ets/test/uitest.test.ets b/arkXtest/uitest/src/main/ets/test/uitest.test.ets index 159012fe1..a1065f77a 100644 --- a/arkXtest/uitest/src/main/ets/test/uitest.test.ets +++ b/arkXtest/uitest/src/main/ets/test/uitest.test.ets @@ -1542,8 +1542,8 @@ export default function UiTest() { try { await window1.split() await driver.delayMs(waitUiReadyMs) - let window2 = await driver.findWindow({bundleName:'com.ohos.systemui'}) - expect(window2 == null).assertTrue() + let bar = await driver.findComponent(ON.type('DecorBar')) + expect(bar == null).assertTrue() } catch (err) { if (err.message == 'this device can not support this action') { -- GitLab