提交 a8f50e53 编写于 作者: Z zhangxiao150

Button XTS fail修复

Signed-off-by: Nzhangxiao150 <zhangxiao150@huawei.com>
Change-Id: I395ef8982f56292bb73e4d871aa8b39e216029d4
上级 473e6006
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册