未验证 提交 2b34d6e2 编写于 作者: O openharmony_ci 提交者: Gitee

!9935 修复卡片相关ACTS测试失败的问题

Merge pull request !9935 from zhangdw521/new_fix_form_acts
......@@ -446,6 +446,8 @@ export default function test() {
done();
});
console.info(`FMS_acquireForm_1100 featureAbility.startAbility end`);
await sleepTime(3000);
done();
});
/**
......@@ -1246,6 +1248,8 @@ export default function test() {
});
console.info(`FMS_acquireForm_1900 featureAbility.startAbility end`);
await sleepTime(3000);
done();
});
/**
* @tc.number: FMS_acquireForm_2100
......
......@@ -318,6 +318,8 @@ export default function test() {
});
console.info(`FMS_acquireForm_4200 featureAbility.startAbility end`);
await sleep(3000);
done();
});
/**
......
......@@ -925,6 +925,9 @@ export default function test() {
console.info(`${tcNumber} featureAbility.startAbilityhost error: ${JSON.stringify(err)}`);
});
console.info(`${tcNumber} featureAbility.startAbility end`);
await sleep(3000);
done();
});
/**
......
......@@ -447,6 +447,9 @@ export default function test() {
console.info(`${tcNumber} featureAbility.startAbilityhost error: ${JSON.stringify(err)}`);
});
console.info(`${tcNumber} featureAbility.startAbility end`);
await sleep(3000);
done();
});
});
}
......
......@@ -123,7 +123,10 @@ export default function test() {
createTempAndNormal: true,
subscribeTerminate: true
});
});
await sleep(3000);
done();
});
});
}
......
......@@ -480,7 +480,7 @@ export default function test() {
function onFormEnableCallBack(_, data) {
expect(data.event).assertEqual("FMS_FormOnState_commonEvent");
console.debug("====>FMS_enableFormsUpdate_0900 onFormEnableCallBack====>" + JSON.stringify(data));
console.info("====>FMS_enableFormsUpdate_0900 onFormEnableCallBack====>" + JSON.stringify(data));
expect(data.parameters.formId).assertEqual(formIds[0]);
expect(data.parameters.kind).assertEqual("enable");
commonEvent.unsubscribe(subscriberOnState, () => unsubscribeSupplyCallback("FMS_enableFormsUpdate_0900"));
......@@ -488,7 +488,7 @@ export default function test() {
async function onFormDisableCallBack(_, data) {
expect(data.event).assertEqual("FMS_FormOnState_commonEvent");
console.debug("====>FMS_enableFormsUpdate_0900 onFormDisableCallBack====>" + JSON.stringify(data));
console.info("====>FMS_enableFormsUpdate_0900 onFormDisableCallBack====>" + JSON.stringify(data));
expect(data.parameters.formId).assertEqual(formIds[0]);
expect(data.parameters.kind).assertEqual("disable");
commonEvent.unsubscribe(subscriberOnState, () => unsubscribeSupplyCallback("FMS_enableFormsUpdate_0900"));
......@@ -523,7 +523,7 @@ export default function test() {
done();
});
console.log(`FMS_enableFormsUpdate_0900 featureAbility.startAbility notifyVisible end`);
}, 10000);
}, 1000);
}
async function onAcquiredCallBack(_, data) {
......@@ -584,6 +584,9 @@ export default function test() {
done();
});
console.log(`FMS_enableFormsUpdate_0900 featureAbility.startAbility servicea end`);
await sleep(5000);
done();
});
/**
......@@ -731,6 +734,9 @@ export default function test() {
done();
});
console.log(`FMS_enableFormsUpdate_1000 featureAbility.startAbility servicea end`);
await sleep(5000);
done();
});
/**
......@@ -933,6 +939,9 @@ export default function test() {
done();
});
console.log(`FMS_enableFormsUpdate_1200 featureAbility.startAbility servicea end`);
await sleep(5000);
done();
});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册