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 0281b01f2982922a2a6946e3d5ff7ec728930020..040e9ba7a5fbed523eff35332c86ca773cc30c2b 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 @@ -631,7 +631,7 @@ export default function buttonTest() { let labelStyle = JSON.parse(obj.$attrs.labelStyle) console.info("ArkUX_Stage_Button_LabelStyle_2100 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_2100 END '); } catch(err) { expect().assertFail()