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 040e9ba7a5fbed523eff35332c86ca773cc30c2b..4a1779f4631f1a81bb9ee14abaa53682738fad2a 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()