@@ -27,8 +27,8 @@ describe('UserVerificationFactorOne', () => {
27
27
const { getByLabelText, getByText } = render ( < UserVerificationFactorOne /> , { wrapper } ) ;
28
28
29
29
await waitFor ( ( ) => {
30
- getByText ( 'Enter your password ' ) ;
31
- getByText ( 'Enter the password associated with your account ' ) ;
30
+ getByText ( 'Verification required ' ) ;
31
+ getByText ( 'Enter your password to continue ' ) ;
32
32
getByLabelText ( / ^ p a s s w o r d / i) ;
33
33
} ) ;
34
34
} ) ;
@@ -46,7 +46,7 @@ describe('UserVerificationFactorOne', () => {
46
46
const { getByLabelText, getByText } = render ( < UserVerificationFactorOne /> , { wrapper } ) ;
47
47
48
48
await waitFor ( ( ) => {
49
- getByText ( 'Check your email ' ) ;
49
+ getByText ( 'Verification required ' ) ;
50
50
getByLabelText ( / E n t e r v e r i f i c a t i o n c o d e / i) ;
51
51
} ) ;
52
52
@@ -66,7 +66,7 @@ describe('UserVerificationFactorOne', () => {
66
66
const { getByLabelText, getByText } = render ( < UserVerificationFactorOne /> , { wrapper } ) ;
67
67
68
68
await waitFor ( ( ) => {
69
- getByText ( 'Check your phone ' ) ;
69
+ getByText ( 'Verification required ' ) ;
70
70
getByLabelText ( / E n t e r v e r i f i c a t i o n c o d e / i) ;
71
71
} ) ;
72
72
@@ -93,7 +93,7 @@ describe('UserVerificationFactorOne', () => {
93
93
94
94
const { userEvent, getByLabelText, getByText } = render ( < UserVerificationFactorOne /> , { wrapper } ) ;
95
95
96
- await waitFor ( ( ) => getByText ( 'Enter your password ' ) ) ;
96
+ await waitFor ( ( ) => getByText ( 'Verification required ' ) ) ;
97
97
await userEvent . type ( getByLabelText ( / ^ p a s s w o r d / i) , 'testtest' ) ;
98
98
await userEvent . click ( getByText ( 'Continue' ) ) ;
99
99
@@ -123,7 +123,7 @@ describe('UserVerificationFactorOne', () => {
123
123
124
124
const { userEvent, getByLabelText, getByText } = render ( < UserVerificationFactorOne /> , { wrapper } ) ;
125
125
126
- await waitFor ( ( ) => getByText ( 'Enter your password ' ) ) ;
126
+ await waitFor ( ( ) => getByText ( 'Verification required ' ) ) ;
127
127
await userEvent . type ( getByLabelText ( / ^ p a s s w o r d / i) , 'testtest' ) ;
128
128
await userEvent . click ( screen . getByText ( 'Continue' ) ) ;
129
129
0 commit comments