Skip to content

Commit 402bee7

Browse files
Merge pull request #581 from ProcessMaker/Ale_login_update
Remove alert validation from login
2 parents 634f2fc + 4df852f commit 402bee7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pages/login.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,7 @@ export class Login {
2626
cy.wait(2000);
2727

2828
// Verify that the login was successful
29-
cy.get('body').then($body => {
30-
// Verify if there are error messages
31-
if ($body.find('.alert-danger').length > 0) {
32-
throw new Error('Error in login: Invalid credentials');
33-
}
34-
});
29+
cy.url().should('include', '/inbox');
3530

3631
// Verify that the navbar is present and visible
3732
cy.get('#navbar1', { timeout: 30000 })

0 commit comments

Comments
 (0)