TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: Verify that a user can log in with valid credentials. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: User is successfully logged in and redirected to the dashboard. Priority: High Title: TC_FUNC_02_Invalid_Login Scenario: Verify that a user cannot log in with invalid credentials. Steps to reproduce: 1. Enter an invalid username. 2. Enter an invalid password. 3. Click the "Login" button. Expected Result: An error message is displayed indicating invalid login credentials. Priority: High Title: TC_FUNC_03_Empty_Fields_Login Scenario: Verify behavior when no credentials are entered. Steps to reproduce: 1. Leave the username field empty. 2. Leave the password field empty. 3. Click the "Login" button. Expected Result: An error message prompts the user to enter credentials. Priority: High Title: TC_FUNC_04_Forgot_Password_Link Scenario: Verify that the "Forgot password?" link redirects to the password recovery page. Steps to reproduce: 1. Click the "Forgot password?" link. Expected Result: User is redirected to the password recovery page. Priority: Medium Title: TC_FUNC_05_Remember_Me_Functionality Scenario: Verify that the "Remember me" checkbox retains user credentials for future logins. Steps to reproduce: 1. Enter valid credentials. 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 is pre-filled with the previously entered username. Priority: Medium Title: TC_FUNC_06_Register_Link Scenario: Verify that the "Register" link redirects to the registration page. Steps to reproduce: 1. Click the "Register" link. Expected Result: User is redirected to the registration page. Priority: Medium Title: TC_FUNC_07_Username_Field_Validation Scenario: Verify that the username field accepts valid input formats. Steps to reproduce: 1. Enter a valid username format (e.g., alphanumeric with allowed special characters). 2. Proceed with login. Expected Result: No validation error for username field. Priority: Medium Title: TC_FUNC_08_Password_Field_Validation Scenario: Verify that the password field accepts valid input formats. Steps to reproduce: 1. Enter a valid password format (e.g., minimum length, special characters). 2. Proceed with login. Expected Result: No validation error for password field. Priority: Medium Title: TC_FUNC_09_UI_Elements_Presence Scenario: Verify that all UI elements are present and correctly labeled. Steps to reproduce: 1. Load the login page. Expected Result: All UI elements (username field, password field, buttons, links) are present and correctly labeled. Priority: Low Title: TC_FUNC_10_Responsive_Design Scenario: Verify that the login page is responsive on different screen sizes. Steps to reproduce: 1. Open the login page on various devices (desktop, tablet, mobile). Expected Result: The layout adjusts correctly without any UI distortion on different screen sizes. Priority: Medium Title: TC_FUNC_11_Case_Sensitivity Scenario: Verify that the username and password fields are case-sensitive. Steps to reproduce: 1. Enter a valid username with incorrect case. 2. Enter a valid password with incorrect case. 3. Click the "Login" button. Expected Result: Login fails due to case sensitivity. Priority: Medium Title: TC_FUNC_12_Password_Masking Scenario: Verify that the password input is masked. Steps to reproduce: 1. Enter text in the password field. Expected Result: The entered text is masked (displayed as dots or asterisks). Priority: High Title: TC_FUNC_13_Error_Message_Display Scenario: Verify that error messages are displayed correctly for invalid login attempts. Steps to reproduce: 1. Enter invalid credentials. 2. Click the "Login" button. Expected Result: An error message is displayed prominently and clearly. Priority: High Title: TC_FUNC_14_Login_Button_Disabled Scenario: Verify that the login button is disabled until both fields are filled. Steps to reproduce: 1. Enter a username but leave the password field empty. Expected Result: The login button remains disabled until both fields are filled. Priority: Medium Title: TC_FUNC_15_Field_Focus Scenario: Verify that the cursor focus starts on the username field when the page loads. Steps to reproduce: 1. Load the login page. Expected Result: The cursor is automatically focused on the username field. Priority: Low Title: TC_FUNC_16_Navigation_Without_Logging_In Scenario: Verify that user cannot navigate to the dashboard without logging in. Steps to reproduce: 1. Attempt to access the dashboard URL directly without logging in. Expected Result: User is redirected to the login page. Priority: High Title: TC_FUNC_17_Remember_Me_Unchecked Scenario: Verify that credentials are not remembered if "Remember me" is unchecked. Steps to reproduce: 1. Enter valid credentials. 2. Ensure "Remember me" is unchecked. 3. Click the "Login" button. 4. Log out and return to the login page. Expected Result: The username field is empty. Priority: Medium Title: TC_FUNC_18_Load_Time Scenario: Verify the load time of the login page. Steps to reproduce: 1. Open the login page. Expected Result: The page loads within an acceptable time frame (e.g., under 3 seconds). Priority: Medium Title: TC_FUNC_19_Accessibility_Check Scenario: Verify that the login page meets accessibility standards. Steps to reproduce: 1. Use a screen reader and navigate the login page. Expected Result: All elements are accessible, and descriptions are read appropriately by the screen reader. Priority: Medium Title: TC_FUNC_20_Keyboard_Navigation Scenario: Verify that all interactive elements can be navigated using the keyboard. Steps to reproduce: 1. Use the Tab key to navigate through the login page. Expected Result: All interactive elements are accessible via keyboard navigation. Priority: Medium