未验证 提交 2771d73b 编写于 作者: O openharmony_ci 提交者: Gitee

!6432 Solve XTS ACTS_GetCurrentTopAbility_0500 fail problem

Merge pull request !6432 from zhoujun62/my_xts_acts1
...@@ -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.
先完成此消息的编辑!
想要评论请 注册