提交 59158b70 编写于 作者: Z zhoujun62

Solve XTS ACTS_GetCurrentTopAbility_0500 fail problem

Signed-off-by: Nzhoujun62 <zhoujun62@huawei.com>
上级 1c933d25
...@@ -23,6 +23,17 @@ var subscriberInfo_MainAbility2 = { ...@@ -23,6 +23,17 @@ var subscriberInfo_MainAbility2 = {
const START_ABILITY_TIMEOUT = 4000; const START_ABILITY_TIMEOUT = 4000;
export default function abilityTest() { export default function abilityTest() {
describe('ActsParticleAbilityStageBTest', function () { describe('ActsParticleAbilityStageBTest', function () {
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
afterEach(async (done) => {
console.debug('= ACTS_afterEach ====<begin');
await sleep(2000);
console.debug('= ACTS_afterEach ====<end');
done();
})
/** /**
*@tc.number: ACTS_GetCurrentTopAbility_0200 *@tc.number: ACTS_GetCurrentTopAbility_0200
*@tc.name: Verify the interface for obtaining the Ability of the foreground *@tc.name: Verify the interface for obtaining the Ability of the foreground
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册