提交 d9d6513b 编写于 作者: L luffy505

modify

Signed-off-by: Nluffy505 <zhangjuan54@huawei.com>
上级 b6298624
...@@ -17,12 +17,12 @@ group("ace") { ...@@ -17,12 +17,12 @@ group("ace") {
"ace_ets_component:AceEtsComponentTest", "ace_ets_component:AceEtsComponentTest",
"ace_ets_component_five:AceEtsComponentFiveTest", "ace_ets_component_five:AceEtsComponentFiveTest",
"ace_ets_component_four:AceEtsComponentFourTest", "ace_ets_component_four:AceEtsComponentFourTest",
# "ace_ets_component_three:AceEtsComponentThreeTest", "ace_ets_component_three:AceEtsComponentThreeTest",
"ace_ets_component_two:AceEtsComponentTwoTest", "ace_ets_component_two:AceEtsComponentTwoTest",
"ace_ets_standard:ActsAceEtsStTest", "ace_ets_standard:ActsAceEtsStTest",
"ace_ets_test:ActsAceEtsTest", "ace_ets_test:ActsAceEtsTest",
"ace_ets_third_test:ActsAceEtsThirdTest", "ace_ets_third_test:ActsAceEtsThirdTest",
# "ace_standard:ace_standard_test", "ace_standard:ace_standard_test",
"ace_standard_video:ace_standard_video_test" "ace_standard_video:ace_standard_video_test"
] ]
} }
...@@ -42,7 +42,8 @@ export default function ohosMatrix4Jsunit() { ...@@ -42,7 +42,8 @@ export default function ohosMatrix4Jsunit() {
}); });
afterEach(async function () { afterEach(async function () {
await Utils.sleep(3000); router.clear();
await Utils.sleep(2000);
console.info("OhosMatrix4 each called"); console.info("OhosMatrix4 each called");
}); });
......
...@@ -45,6 +45,17 @@ export default function sliderJsunit() { ...@@ -45,6 +45,17 @@ export default function sliderJsunit() {
console.info("slider after each called"); console.info("slider after each called");
}); });
it('testSlider001', 0, async function (done) {
console.info('[testSlider001] START');
await Utils.sleep(2000);
let strJson = getInspectorByKey('slider');
console.info("[testSlider001] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testSlider001] decoration:" + JSON.stringify(obj.$attrs));
expect(obj.$attrs.decoration).assertEqual(undefined);
done();
});
it('testSlider002', 0, async function (done) { it('testSlider002', 0, async function (done) {
console.info('[testSlider002] START'); console.info('[testSlider002] START');
try { try {
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
require('./basicabilityapi.test.js') require('./basicabilityapi.test.js')
require('./mediaquery.test.js') require('./mediaquery.test.js')
require('./commonComponentJsApi.test.js')
require('./divProps.test.js') require('./divProps.test.js')
require('./buttonProps.test.js') require('./buttonProps.test.js')
require('./chartProps.test.js') require('./chartProps.test.js')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册