fix throw error
This commit is contained in:
parent
eb4cf56178
commit
7224b9a0d5
|
@ -28,7 +28,7 @@ export class LogInPage {
|
|||
await this.signInButtonLocator.click();
|
||||
} catch (error) {
|
||||
console.error('Failed to login:', error);
|
||||
throw new Error('Failed to login');
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue