diff --git a/src/app/password/new-password-and-confirm/new-password-and-confirm.harness.ts b/src/app/password/new-password-and-confirm/new-password-and-confirm.harness.ts index 7932daaebd2..7083f424513 100644 --- a/src/app/password/new-password-and-confirm/new-password-and-confirm.harness.ts +++ b/src/app/password/new-password-and-confirm/new-password-and-confirm.harness.ts @@ -43,11 +43,11 @@ export class NewPasswordAndConfirmHarness extends ComponentHarness { } async setNewPassword(value: string): Promise { - this.setPassword(value, false); + await this.setPassword(value, false); } async setConfirmNewPassword(value: string): Promise { - this.setPassword(value, true); + await this.setPassword(value, true); } async setPassword(value: string, isConfirm: boolean): Promise {