Skip to content

Commit

Permalink
Merge pull request #414 from mayuradesh/develop
Browse files Browse the repository at this point in the history
MOSIP-27440 CTK UI Reliability bugs
  • Loading branch information
mayuradesh committed Jun 26, 2023
2 parents 307e0e7 + 666048b commit dd2a91d
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -840,9 +840,11 @@ export class ExecuteTestRunComponent implements OnInit {
}
else {
//no resp to keep the for loop on hold
await new Promise(async (resolve, reject) => {
return true;
});
//wait till user clicks on the required button in UI
const promise = new Promise((resolve, reject) => { });
if (await promise) {
return false;
}
}
} else {
if (this.showResumeBtn) {
Expand Down Expand Up @@ -878,9 +880,13 @@ export class ExecuteTestRunComponent implements OnInit {
return res;
}
else {
await new Promise(async (resolve, reject) => {
return true;
});
//no resp to keep the for loop on hold
//wait till user clicks on the required button in UI
const promise = new Promise((resolve, reject) => {});
if (await promise) {
return false;
}

}
}
}
Expand Down

0 comments on commit dd2a91d

Please sign in to comment.