Skip to content

Commit

Permalink
Update login.cy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
farisashai committed Jan 7, 2024
1 parent 694012c commit 19350a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/pages/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Login Page', () => {
cy.get('button').contains('Sign In').click();

cy.location('pathname').should('equal', '/login');
cy.get('p').contains('Required').should('exist');
cy.contains('p', 'Required').should('exist');
});
});

Expand All @@ -63,7 +63,7 @@ describe('Login Page', () => {
cy.get('button').contains('Sign In').click();

cy.location('pathname').should('equal', '/login');
cy.get('p').get('Required').should('exist');
cy.contains('p', 'Required').should('exist');
});
});

Expand Down

0 comments on commit 19350a4

Please sign in to comment.