remove unnecesary await
This commit is contained in:
parent
836c66ee9a
commit
6c887475f3
|
@ -27,8 +27,8 @@ export class LogInPage {
|
|||
await this.passwordInputLocator.fill(password);
|
||||
await this.signInButtonLocator.click();
|
||||
} catch (error) {
|
||||
console.error('Login failed:', error);
|
||||
throw new Error('Login failed');
|
||||
console.error('Failed to login:', error);
|
||||
throw new Error('Failed to login');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue