File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withSessionTasksResetPassword
2828 await u . po . signIn . setPassword ( user . password ) ;
2929 await u . po . signIn . continue ( ) ;
3030
31- await expect ( u . page . getByTestId ( 'form-feedback-error' ) ) . toBeVisible ( ) ;
32- await u . po . signIn . getUseAnotherMethodLink ( ) . click ( ) ;
31+ await expect (
32+ u . page . getByText (
33+ "Your password appears to have been compromised or it's no longer trusted and cannot be used. Please use another method to continue." ,
34+ ) ,
35+ ) . toBeVisible ( ) ;
3336 await u . po . signIn . getAltMethodsEmailCodeButton ( ) . click ( ) ;
3437
3538 await u . page . getByRole ( 'textbox' , { name : 'code' } ) . click ( ) ;
@@ -78,10 +81,11 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withSessionTasksResetPassword
7881 await u . po . signIn . setPassword ( user . password ) ;
7982 await u . po . signIn . continue ( ) ;
8083
81- await expect ( u . page . getByTestId ( 'form-feedback-error' ) ) . toBeVisible ( ) ;
82-
83- await u . po . signIn . getUseAnotherMethodLink ( ) . click ( ) ;
84-
84+ await expect (
85+ u . page . getByText (
86+ "Your password appears to have been compromised or it's no longer trusted and cannot be used. Please use another method to continue." ,
87+ ) ,
88+ ) . toBeVisible ( ) ;
8589 await u . po . signIn . getAltMethodsEmailCodeButton ( ) . click ( ) ;
8690
8791 await u . page . getByRole ( 'textbox' , { name : 'code' } ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments