提交 2e6bb372 编写于 作者: Z zhoujun62 提交者: zhoujun62

fixed 59158b70 from https://gitee.com/zhoujun62/xts_acts/pulls/6432

Solve XTS ACTS_GetCurrentTopAbility_0500 fail problem
Signed-off-by: Nzhoujun62 <zhoujun62@huawei.com>
上级 42439ac5
......@@ -22,6 +22,17 @@ var subscriberInfo_MainAbility2 = {
const START_ABILITY_TIMEOUT = 4000;
export default function abilityTest() {
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.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.
先完成此消息的编辑!
想要评论请 注册