@@ -65,9 +65,9 @@ describe('Superadmin MFA Flow', () => {
6565 cy . wait ( '@getUserSuperadmin' ) ;
6666
6767 cy . visit ( '/admin/dashboard' ) ;
68- cy . get ( 'h3' ) . should ( 'contain' , 'Set up Two-Factor Authentication ' ) ;
68+ cy . get ( 'h3' ) . should ( 'contain' , 'Set up two-factor authentication ' ) ;
6969 cy . get ( 'input[type="tel"]' ) . should ( 'exist' ) ;
70- cy . get ( 'button' ) . contains ( 'Send Verification Code ' ) . should ( 'exist' ) ;
70+ cy . get ( 'button' ) . contains ( 'Send verification code ' ) . should ( 'exist' ) ;
7171
7272 cy . logout ( ) ;
7373 } ) ;
@@ -112,13 +112,13 @@ describe('Superadmin MFA Flow', () => {
112112 cy . visit ( '/admin/dashboard' ) ;
113113
114114 // Verify MFA setup form is displayed
115- cy . get ( 'h3' ) . should ( 'contain' , 'Set up Two-Factor Authentication ' ) ;
115+ cy . get ( 'h3' ) . should ( 'contain' , 'Set up two-factor authentication ' ) ;
116116
117117 // Enter phone number
118118 cy . get ( 'input[type="tel"]' ) . should ( 'be.visible' ) . type ( testPhoneNumber ) ;
119119
120120 // Click send verification code button
121- cy . get ( 'button' ) . contains ( 'Send Verification Code ' ) . should ( 'be.visible' ) . click ( ) ;
121+ cy . get ( 'button' ) . contains ( 'Send verification code ' ) . should ( 'be.visible' ) . click ( ) ;
122122
123123 // We can't mock the reCAPTCHA in Cypress, so we will skip this step that tests the actual sms sending and mfa setup
124124
@@ -174,7 +174,7 @@ describe('Superadmin MFA Flow', () => {
174174
175175 // Should show email verification requirement
176176 cy . get ( 'p' ) . should ( 'contain' , 'Please verify your email before setting up 2FA' ) ;
177- cy . get ( 'button' ) . contains ( 'Send Verification Email ' ) . should ( 'exist' ) ;
177+ cy . get ( 'button' ) . contains ( 'Send verification email ' ) . should ( 'exist' ) ;
178178
179179 cy . logout ( ) ;
180180 } ) ;
0 commit comments