From acee6d433495d54e6d395a04877e6488f2442ac2 Mon Sep 17 00:00:00 2001 From: Zhang-Dong-hui Date: Fri, 4 Aug 2023 12:59:21 +0000 Subject: [PATCH] modify a fail usecase about progress's borderwidth Signed-off-by: Zhang-Dong-hui Change-Id: Iefe72987aa1822f6cfb8b7dfab5c349f6e87bc88 --- .../src/main/ets/test/progressSec.ets | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arkui/ace_ets_components_ux/ace_ets_component_progress/src/main/ets/test/progressSec.ets b/arkui/ace_ets_components_ux/ace_ets_component_progress/src/main/ets/test/progressSec.ets index 1a8418278..5128437fb 100755 --- a/arkui/ace_ets_components_ux/ace_ets_component_progress/src/main/ets/test/progressSec.ets +++ b/arkui/ace_ets_components_ux/ace_ets_component_progress/src/main/ets/test/progressSec.ets @@ -321,9 +321,8 @@ export default function progressSecTest() { let newJson = getInspectorByKey('progress_capsule_resource'); console.info("[ArkUI_Stage_Progress_Capsule_BorderWidth_0400]: " + JSON.stringify(newJson)); let progress_capsule_borderWidth_resource = $r('sys.float.ohos_id_text_margin_vertical'); - console.info("[ArkUI_Stage_Progress_Capsule_BorderWidth_0400 ..qianduan]: " + JSON.stringify(progress_capsule_borderWidth_resource)); globalThis.value.message.notify({name:'progress_capsule_borderWidth_resource',value:progress_capsule_borderWidth_resource}); - Utils.sleep(2000); + await Utils.sleep(2000); let strJson = getInspectorByKey('progress_capsule_resource'); let strJsonJudge = getInspectorByKey('progress_capsule_resource_judge'); console.info("[ArkUI_Stage_Progress_Capsule_BorderWidth_0400]: " + JSON.stringify(strJson)) -- GitLab