From a8f50e53705c4b9f40a2e1a102872c5bd8a905fb Mon Sep 17 00:00:00 2001 From: zhangxiao150 Date: Sat, 1 Jul 2023 08:04:25 +0000 Subject: [PATCH] =?UTF-8?q?Button=20XTS=20fail=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangxiao150 Change-Id: I395ef8982f56292bb73e4d871aa8b39e216029d4 --- .../ace_ets_component_button/src/main/ets/test/button.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arkui/ace_ets_components_ux/ace_ets_component_button/src/main/ets/test/button.ets b/arkui/ace_ets_components_ux/ace_ets_component_button/src/main/ets/test/button.ets index 040e9ba7a..4a1779f46 100644 --- a/arkui/ace_ets_components_ux/ace_ets_component_button/src/main/ets/test/button.ets +++ b/arkui/ace_ets_components_ux/ace_ets_component_button/src/main/ets/test/button.ets @@ -810,7 +810,7 @@ export default function buttonTest() { let labelStyle = JSON.parse(obj.$attrs.labelStyle) console.info("ArkUX_Stage_Button_LabelStyle_2700 component obj.$attrs.labelStyle is: " + JSON.stringify(labelStyle)); - expect(labelStyle.overflow).assertEqual("TextOverflow.Clip"); + expect(labelStyle.overflow).assertEqual("TextOverflow.Ellipsis"); console.info('ArkUX_Stage_Button_LabelStyle_2700 END '); } catch(err) { expect().assertFail() @@ -901,7 +901,7 @@ export default function buttonTest() { let labelStyle = JSON.parse(obj.$attrs.labelStyle) console.info("ArkUX_Stage_Button_LabelStyle_3000 component obj.$attrs.labelStyle is: " + JSON.stringify(labelStyle)); - expect(labelStyle.overflow).assertEqual("TextOverflow.Clip"); + expect(labelStyle.overflow).assertEqual("TextOverflow.Ellipsis"); console.info('ArkUX_Stage_Button_LabelStyle_3000 END '); } catch(err) { expect().assertFail() -- GitLab