TEST TYPE: dashboard_functional ### Test Case 1 **Title:** TC_FUNC_01_Valid_Login **Scenario:** User attempts to log in with valid credentials. **Steps to reproduce:** 1. Enter a valid username in the "Username" field. 2. Enter a valid password in the "Password" field. 3. Click the "Login" button. **Expected Result:** The user should be successfully logged in and redirected to the dashboard. **Priority:** High --- ### Test Case 2 **Title:** TC_FUNC_02_Invalid_Login **Scenario:** User attempts to log in with invalid credentials. **Steps to reproduce:** 1. Enter an invalid username in the "Username" field. 2. Enter an invalid password in the "Password" field. 3. Click the "Login" button. **Expected Result:** An error message should be displayed, indicating the login attempt was unsuccessful. **Priority:** High --- ### Test Case 3 **Title:** TC_FUNC_03_Forgot_Password_Link **Scenario:** User clicks the "Forgot password?" link. **Steps to reproduce:** 1. Click the "Forgot password?" link. **Expected Result:** The user should be redirected to the password recovery page. **Priority:** Medium --- ### Test Case 4 **Title:** TC_FUNC_04_Register_Link **Scenario:** User clicks the "Register" link to create a new account. **Steps to reproduce:** 1. Click the "Register" link. **Expected Result:** The user should be redirected to the registration page. **Priority:** Medium --- ### Test Case 5 **Title:** TC_FUNC_05_Remember_Me_Option **Scenario:** User selects the "Remember me" checkbox before logging in. **Steps to reproduce:** 1. Enter a valid username and password. 2. Check the "Remember me" checkbox. 3. Click the "Login" button. 4. Log out and return to the login page. **Expected Result:** The username field should be pre-filled with the previously entered username. **Priority:** Medium --- ### Test Case 6 **Title:** TC_FUNC_06_Empty_Fields_Login **Scenario:** User attempts to log in without entering any credentials. **Steps to reproduce:** 1. Leave the "Username" and "Password" fields empty. 2. Click the "Login" button. **Expected Result:** An error message should be displayed, indicating that both fields are required. **Priority:** High --- ### Test Case 7 **Title:** TC_FUNC_07_UI_Elements_Visibility **Scenario:** Check the visibility of all UI elements on the login page. **Steps to reproduce:** 1. Load the login page. **Expected Result:** All elements (username field, password field, "Remember me" checkbox, "Login" button, "Forgot password?" and "Register" links) should be visible and properly aligned. **Priority:** Low --- ### Test Case 8 **Title:** TC_FUNC_08_Password_Field_Masking **Scenario:** Verify that the password is masked when entered in the password field. **Steps to reproduce:** 1. Enter a password in the "Password" field. **Expected Result:** The password should be masked (e.g., shown as dots or asterisks). **Priority:** High --- ### Test Case 9 **Title:** TC_FUNC_09_Responsive_Design **Scenario:** Verify the login page's responsiveness on different devices. **Steps to reproduce:** 1. Resize the browser window or use different devices to access the login page. **Expected Result:** The layout should adjust appropriately for different screen sizes without any overlap or misalignment. **Priority:** Medium --- ### Test Case 10 **Title:** TC_FUNC_10_Keyboard_Navigation **Scenario:** Verify keyboard navigation through the login page elements. **Steps to reproduce:** 1. Use the Tab key to navigate through the elements on the login page. **Expected Result:** Focus should move logically between elements, and the Enter key should trigger the "Login" button. **Priority:** Low