Created attachment 167 [details] Test case for logging in with old password after change User are allowed to change their password for their account in the system, when the password is changed, the user should only be able to login with their new password but not old password. However, the user can login with old password but not with new password after changing password. --------------------------------------------------------------------------------Welcome to CMS! ============================================== Login =============================================== Please enter your staff ID: d Please enter your password: d ============================================ Main Menu ============================================= Login as [Doctor] Dr. dummer dr one | d | 0. Patient Mangement 1. Appointment Management 2. MedRecord Management 3. Medicine Management 4. Admin 5. Logoff Please select a function: 4 ============================================== Admin =============================================== 0. Create user 1. Update Password Please select a function: 1 ========================================== Edit password =========================================== Please enter your old password: d Please enter your new password: dd Password updated successfully. ============================================ Main Menu ============================================= Login as [Doctor] Dr. dummer dr one | d | 0. Patient Mangement 1. Appointment Management 2. MedRecord Management 3. Medicine Management 4. Admin 5. Logoff Please select a function: 5 Successfully logoff. ============================================== Login =============================================== Please enter your staff ID: d Please enter your password: d ============================================ Main Menu ============================================= Login as [Doctor] Dr. dummer dr one | d | 0. Patient Mangement 1. Appointment Management 2. MedRecord Management 3. Medicine Management 4. Admin 5. Logoff Please select a function: 5 Successfully logoff. ============================================== Login =============================================== Please enter your staff ID: d Please enter your password: dd ============================================== ERROR =============================================== exceptions.LoginFailureException: Incorrect Staff ID or password!