File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ describe('Login Component', () => {
95
95
cy . contains ( 'button' , 'Sign in' ) . click ( )
96
96
97
97
// 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' )
99
99
} )
100
100
101
101
it ( 'should validate empty password' , ( ) => {
@@ -106,7 +106,7 @@ describe('Login Component', () => {
106
106
cy . contains ( 'button' , 'Sign in' ) . click ( )
107
107
108
108
// 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' )
110
110
} )
111
111
112
112
it ( 'should show loading state during login' , ( ) => {
You can’t perform that action at this time.
0 commit comments