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

!8414 【Account】【3.2Release】Case execution duration optimization and Interface Changes

Merge pull request !8414 from 翟孟超/cherry-pick-1681185260
......@@ -45,8 +45,8 @@ export default function ActsAccountAppAccess() {
});
beforeEach(async (done)=>{
console.debug("====>afterEach start====");
var appAccountManager = account.getAccountManager();
var accounts = await appAccountManager.getAllAccountByOwner(owner)
var appAccountManager = account.createAppAccountManager();
var accounts = await appAccountManager.getAccountsByOwner(owner)
for (var i=0;i<accounts.length;i++){
var localName = accounts[i].name
if(localName == 'zhangsan'){
......
......@@ -24,7 +24,7 @@ export default function ActsAccountAuthenticator() {
describe('ActsAccountAuthenticator', function () {
beforeAll(async function (done) {
console.debug("====>accountauthenticatorbeforeAll start====");
await featureAbility.startAbility(
await featureAbility.startAbilityForResult(
{
want:
{
......@@ -44,8 +44,8 @@ export default function ActsAccountAuthenticator() {
});
beforeEach(async function (done) {
console.debug("====>afterEach start====");
var appAccountManager = account.getAccountManager();
var accounts = await appAccountManager.getAllAccountByOwner(owner)
var appAccountManager = account.createAppAccountManager();
var accounts = await appAccountManager.getAccountsByOwner(owner)
for (var i=0;i<accounts.length;i++){
var localName = accounts[i].name
if(localName == 'zhangsan'){
......@@ -134,10 +134,8 @@ export default function ActsAccountAuthenticator() {
console.debug("====>ActsAccountCheckAccountLabels_0300 end====");
done();
})
});
});
});
/*
......@@ -665,7 +663,6 @@ export default function ActsAccountAuthenticator() {
});
});
/*
* @tc.number : ActsAccountSelectAccountByOptions_0100
* @tc.name : Verify Credential callback form
......@@ -700,6 +697,5 @@ export default function ActsAccountAuthenticator() {
}
});
});
})
}
......@@ -5,7 +5,8 @@
"test-timeout": "300000",
"bundle-name": "com.example.actsosaccountthirdpartytest",
"package-name": "com.example.actsosaccountthirdpartytest",
"shell-timeout": "60000"
"shell-timeout": "60000",
"testcase-timeout": "100000"
},
"kits": [
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册