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.passwordInputLocator.fill(password);
|
||||||
await this.signInButtonLocator.click();
|
await this.signInButtonLocator.click();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Login failed:', error);
|
console.error('Failed to login:', error);
|
||||||
throw new Error('Login failed');
|
throw new Error('Failed to login');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue