Skip to content

Commit

Permalink
Merge pull request #412 from mayuradesh/develop
Browse files Browse the repository at this point in the history
MOSIP-27440 fixed sonar UI bugs
  • Loading branch information
mayuradesh committed Jun 26, 2023
2 parents d09e7b0 + d97e560 commit 08c0e80
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ export class ExecuteTestRunComponent implements OnInit {
}

async executeABISTestCase(testCase: TestCaseModel) {
//return new Promise(async (resolve, reject) => {
this.isCombinationAbisTestcase = testCase.methodName.length > 1 ? true : false;
if (this.isCombinationAbisTestcase && this.currentAbisMethod == appConstants.BLANK_STRING) {
this.currentAbisMethod = appConstants.ABIS_METHOD_INSERT;
Expand Down Expand Up @@ -803,14 +802,11 @@ export class ExecuteTestRunComponent implements OnInit {
this.isCombinationAbisTestcase = false;
this.currentAbisMethod = appConstants.BLANK_STRING;
}
//resolve(validatorsResp);
return validatorsResp;
}
//});
}

async executeSBITestCase(testCase: TestCaseModel) {
//return new Promise(async (resolve, reject) => {
if (
testCase.methodName[0] == appConstants.SBI_METHOD_CAPTURE ||
testCase.methodName[0] == appConstants.SBI_METHOD_RCAPTURE
Expand Down Expand Up @@ -841,10 +837,11 @@ export class ExecuteTestRunComponent implements OnInit {
}
//resolve(res);
return res;
} else {
}
else {
//no resp to keep the for loop on hold
await new Promise(async (resolve, reject) => { });
//return p;
return true;
}
} else {
if (this.showResumeBtn) {
Expand Down Expand Up @@ -877,15 +874,13 @@ export class ExecuteTestRunComponent implements OnInit {
);
}
this.beforeKeyRotationResp = null;
//resolve(res);
return res;
} else {
//no resp to keep the for loop on hold
}
else {
await new Promise(async (resolve, reject) => { });
//return p;
return true;
}
}
//});
}

calculateTestcaseResults(res: any) {
Expand Down

0 comments on commit 08c0e80

Please sign in to comment.