未验证 提交 76a6323e 编写于 作者: O openharmony_ci 提交者: Gitee

!4872 【XTS】【Ace子系统】ActsAceEtsComponent系列失败用例修改

Merge pull request !4872 from 张馨月/master
......@@ -466,7 +466,7 @@ export default function swiperJsunit() {
let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.duration).assertEqual('nan');
expect(objNew.$attrs.duration).assertEqual('0.000000');
console.info('swiperTest_1900 END');
done();
});
......
......@@ -53,7 +53,7 @@ export default function positionSettingJsunit() {
console.info("[testPositionSetting001] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign);
expect(obj.$attrs.textAlign).assertEqual('TextAlign.Start');
expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left');
console.info('[testPositionSetting001] END');
done();
});
......@@ -92,7 +92,7 @@ export default function positionSettingJsunit() {
console.info("[testPositionSetting003] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign);
expect(obj.$attrs.textAlign).assertEqual("TextAlign.Start");
expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right");
console.info('[testPositionSetting003] END');
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册