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 @@ -25,7 +25,7 @@ class PasswordSettingsPage extends PageWithNavbarPage {
2525 cy . wait ( 500 ) ;
2626 this . newPasswordConfirmationField ( ) . should ( 'be.visible' ) . clear ( ) . type ( newPassword ) ;
2727 cy . wait ( 500 ) ;
28- cy . intercept ( 'PUT ' , '**/api/auth /change-password' ) . as ( 'changePassword' ) ;
28+ cy . intercept ( 'POST ' , '**/api/account /change-password' ) . as ( 'changePassword' ) ;
2929 this . saveBtn ( ) . should ( 'be.visible' ) . should ( 'be.enabled' ) . click ( ) ;
3030 cy . wait ( '@changePassword' , { timeout : 10000 } ) ;
3131 }
@@ -37,7 +37,7 @@ class PasswordSettingsPage extends PageWithNavbarPage {
3737 cy . wait ( 500 ) ;
3838 this . newPasswordConfirmationField ( ) . should ( 'be.visible' ) . clear ( ) . type ( newPassword ) ;
3939 cy . wait ( 500 ) ;
40- cy . intercept ( 'PUT ' , '**/api/auth /change-password' ) . as ( 'changePassword' ) ;
40+ cy . intercept ( 'POST ' , '**/api/account /change-password' ) . as ( 'changePassword' ) ;
4141 this . saveBtn ( ) . should ( 'be.visible' ) . should ( 'be.enabled' ) . click ( ) ;
4242 cy . wait ( '@changePassword' , { timeout : 10000 } ) ;
4343 }
You can’t perform that action at this time.
0 commit comments