From 4a1a0e30ae25d92272514de7beb411aa37e58884 Mon Sep 17 00:00:00 2001 From: zhangxinyue Date: Fri, 26 Aug 2022 14:03:11 +0800 Subject: [PATCH] bug fix Signed-off-by: zhangxinyue --- .../entry/src/main/ets/test/VisibilityJsunit.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arkui/ace_ets_component/entry/src/main/ets/test/VisibilityJsunit.test.ets b/arkui/ace_ets_component/entry/src/main/ets/test/VisibilityJsunit.test.ets index 8ee65d56a..87a981ad4 100644 --- a/arkui/ace_ets_component/entry/src/main/ets/test/VisibilityJsunit.test.ets +++ b/arkui/ace_ets_component/entry/src/main/ets/test/VisibilityJsunit.test.ets @@ -130,7 +130,7 @@ export default function visibilityJsunit() { let strJson = getInspectorByKey('box'); let obj = JSON.parse(strJson); console.info("[testVisibility04] obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.visibility).assertEqual('Visibility.None'); + expect(obj.$attrs.visibility).assertEqual('Visibility.Visible'); console.info('[testVisibility04] END'); done(); }); @@ -156,7 +156,7 @@ export default function visibilityJsunit() { let strJson = getInspectorByKey('box'); let obj = JSON.parse(strJson); console.info("[testVisibility05] obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.visibility).assertEqual('Visibility.None'); + expect(obj.$attrs.visibility).assertEqual('Visibility.Visible'); console.info('[testVisibility05] END'); done(); }); -- GitLab