TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: Successfully 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 redirected to the dashboard. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_02_Invalid_Login Scenario: Attempt to 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: Display an error message indicating invalid credentials. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_03_Empty_Username Scenario: Attempt to log in with an empty username field. Steps to reproduce: 1. Leave the username field empty. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Display an error message indicating the username is required. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_04_Empty_Password Scenario: Attempt to log in with an empty password field. Steps to reproduce: 1. Enter a valid username. 2. Leave the password field empty. 3. Click the "Login" button. Expected Result: Display an error message indicating the password is required. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_05_Remember_Me_Functionality Scenario: Verify the "Remember me" checkbox functionality. 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: Username field is pre-filled with the remembered username. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_06_Forgot_Password_Link Scenario: Verify the "Forgot password?" link functionality. Steps to reproduce: 1. Click the "Forgot password?" link. Expected Result: User is redirected to the password recovery page. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_07_Register_Link Scenario: Verify the "Register" link functionality. Steps to reproduce: 1. Click the "Register" link. Expected Result: User is redirected to the registration page. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_08_Password_Masking Scenario: Verify that the password is masked when typing. Steps to reproduce: 1. Enter a password in the password field. Expected Result: Password characters are masked with dots or asterisks. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_09_Tab_Navigation Scenario: Verify tab navigation between fields. Steps to reproduce: 1. Use the Tab key to navigate from the username field to the password field, and then to the "Login" button. Expected Result: Cursor moves sequentially through the fields and button. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_10_Enter_Key_Submission Scenario: Verify that the Enter key submits the login form. Steps to reproduce: 1. Enter valid credentials. 2. Press the Enter key. Expected Result: Form is submitted, and user is logged in. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_11_Case_Sensitivity Scenario: Verify that the username field is case-sensitive. Steps to reproduce: 1. Enter a valid username with incorrect casing. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Login fails with an appropriate error message. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_12_Password_Case_Sensitivity Scenario: Verify that the password field is case-sensitive. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password with incorrect casing. 3. Click the "Login" button. Expected Result: Login fails with an appropriate error message. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_13_Max_Username_Length Scenario: Verify the maximum length for the username field. Steps to reproduce: 1. Enter a username exceeding the maximum allowed length. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Username is truncated or an error message is displayed. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_14_Max_Password_Length Scenario: Verify the maximum length for the password field. Steps to reproduce: 1. Enter a valid username. 2. Enter a password exceeding the maximum allowed length. 3. Click the "Login" button. Expected Result: Password is truncated or an error message is displayed. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_15_Special_Characters_Username Scenario: Verify login with special characters in the username. Steps to reproduce: 1. Enter a username with special characters. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Login is successful if credentials are valid. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_16_Special_Characters_Password Scenario: Verify login with special characters in the password. Steps to reproduce: 1. Enter a valid username. 2. Enter a password with special characters. 3. Click the "Login" button. Expected Result: Login is successful if credentials are valid. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_17_Blank_Input_Submission Scenario: Verify behavior when submitting the form with all fields empty. Steps to reproduce: 1. Leave both username and password fields empty. 2. Click the "Login" button. Expected Result: Display error messages indicating both fields are required. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_18_SQL_Injection_Prevention Scenario: Verify that the login form is protected against SQL injection. Steps to reproduce: 1. Enter an SQL code as the username. 2. Enter an SQL code as the password. 3. Click the "Login" button. Expected Result: Login fails with an appropriate error message, and no SQL errors occur. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_19_XSS_Prevention Scenario: Verify that the login form is protected against XSS attacks. Steps to reproduce: 1. Enter a script tag as the username. 2. Enter a script tag as the password. 3. Click the "Login" button. Expected Result: Login fails with an appropriate error message, and no scripts are executed. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_20_Login_Button_Disabled Scenario: Verify that the "Login" button is disabled when fields are empty. Steps to reproduce: 1. Leave both username and password fields empty. Expected Result: The "Login" button is disabled and not clickable. Actual Result: [To be filled during execution] Priority: Medium