We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 634f2fc + 4df852f commit 402bee7Copy full SHA for 402bee7
pages/login.js
@@ -26,12 +26,7 @@ export class Login {
26
cy.wait(2000);
27
28
// 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
- });
+ cy.url().should('include', '/inbox');
35
36
// Verify that the navbar is present and visible
37
cy.get('#navbar1', { timeout: 30000 })
0 commit comments