Skip to content

Commit 91372f5

Browse files
committed
fix: cypress test
1 parent d69a8c5 commit 91372f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/cypress/e2e/testLogin.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('Login Component', () => {
9595
cy.contains('button', 'Sign in').click()
9696

9797
// Check for validation error (matching the error message with a trailing period)
98-
cy.contains('Invalid email address.').should('be.visible')
98+
cy.contains('Invalid email address').should('be.visible')
9999
})
100100

101101
it('should validate empty password', () => {
@@ -106,7 +106,7 @@ describe('Login Component', () => {
106106
cy.contains('button', 'Sign in').click()
107107

108108
// Check for validation error (matching the error message with a trailing period)
109-
cy.contains('Password cannot be empty.').should('be.visible')
109+
cy.contains('Password cannot be empty').should('be.visible')
110110
})
111111

112112
it('should show loading state during login', () => {

0 commit comments

Comments
 (0)