fix throw error

This commit is contained in:
mildred 2024-03-08 17:26:55 +01:00
parent eb4cf56178
commit 7224b9a0d5
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export class LogInPage {
await this.signInButtonLocator.click(); await this.signInButtonLocator.click();
} catch (error) { } catch (error) {
console.error('Failed to login:', error); console.error('Failed to login:', error);
throw new Error('Failed to login'); throw error;
} }
} }