TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: User logs 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_Username Scenario: User attempts to log in with an invalid username. Steps to reproduce: 1. Enter an invalid username. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: An error message is displayed indicating invalid credentials. Priority: High Title: TC_FUNC_03_Invalid_Password Scenario: User attempts to log in with an invalid password. Steps to reproduce: 1. Enter a valid username. 2. Enter an invalid password. 3. Click the "Login" button. Expected Result: An error message is displayed indicating invalid credentials. Priority: High Title: TC_FUNC_04_Empty_Username_Field Scenario: User tries 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: An error message is displayed indicating that the username field cannot be empty. Priority: Medium Title: TC_FUNC_05_Empty_Password_Field Scenario: User tries 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: An error message is displayed indicating that the password field cannot be empty. Priority: Medium Title: TC_FUNC_06_Remember_Me_Functionality Scenario: User selects the "Remember me" option and logs in. Steps to reproduce: 1. Enter valid credentials. 2. Select the "Remember me" checkbox. 3. Click the "Login" button. 4. Log out. 5. Return to the login page. Expected Result: Username is pre-filled in the username field. Priority: Medium Title: TC_FUNC_07_Forgot_Password_Link Scenario: User clicks on the "Forgot password?" link. Steps to reproduce: 1. Click the "Forgot password?" link. Expected Result: User is redirected to the password recovery page. Priority: Medium Title: TC_FUNC_08_Register_Link Scenario: User clicks on the "Register" link. Steps to reproduce: 1. Click the "Register" link. Expected Result: User is redirected to the registration page. Priority: Medium Title: TC_FUNC_09_Password_Masking Scenario: Password input should be masked by default. Steps to reproduce: 1. Enter text in the password field. Expected Result: The input is masked (displayed as dots or asterisks). Priority: High Title: TC_FUNC_10_Login_Button_Disabled_Empty_Fields Scenario: Ensure the "Login" button is disabled when fields are empty. Steps to reproduce: 1. Leave both username and password fields empty. Expected Result: "Login" button is disabled. Priority: Low Title: TC_FUNC_11_Login_Button_Enabled_Valid_Inputs Scenario: Ensure the "Login" button is enabled with valid inputs. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. Expected Result: "Login" button is enabled. Priority: High Title: TC_FUNC_12_Username_Field_Character_Limit Scenario: Verify character limit for the username field. Steps to reproduce: 1. Enter a username exceeding the maximum character limit. Expected Result: Username input is restricted to the maximum character limit. Priority: Medium Title: TC_FUNC_13_Password_Field_Character_Limit Scenario: Verify character limit for the password field. Steps to reproduce: 1. Enter a password exceeding the maximum character limit. Expected Result: Password input is restricted to the maximum character limit. Priority: Medium Title: TC_FUNC_14_Tab_Order Scenario: Verify the tab order on the login page. Steps to reproduce: 1. Use the "Tab" key to navigate through the fields. Expected Result: Focus moves in the order: Username, Password, Remember me, Login button. Priority: Low Title: TC_FUNC_15_Case_Sensitivity Scenario: Verify username and password fields are case-sensitive. Steps to reproduce: 1. Enter a valid username with different case. 2. Enter a valid password with different case. 3. Click the "Login" button. Expected Result: An error message is displayed indicating invalid credentials. Priority: High Title: TC_FUNC_16_Cookie_Creation Scenario: Verify a cookie is created when "Remember me" is checked. Steps to reproduce: 1. Enter valid credentials. 2. Check "Remember me". 3. Click "Login". Expected Result: A cookie is created to remember the session. Priority: Medium Title: TC_FUNC_17_Error_Message_Clear Scenario: Verify error message clears after a successful login. Steps to reproduce: 1. Enter invalid credentials. 2. Click "Login". 3. Enter valid credentials. 4. Click "Login". Expected Result: Error message is cleared upon successful login. Priority: Medium Title: TC_FUNC_18_Responsive_Design Scenario: Verify the login page is responsive. Steps to reproduce: 1. Access the login page on different devices and screen sizes. Expected Result: The login page displays correctly on all screen sizes. Priority: Low Title: TC_FUNC_19_Invalid_Inputs_Error_Message Scenario: Verify error message for invalid inputs. Steps to reproduce: 1. Enter invalid username and password. 2. Click "Login". Expected Result: A clear error message is displayed. Priority: High Title: TC_FUNC_20_Back_Button_Behavior Scenario: Verify behavior of the browser back button after login. Steps to reproduce: 1. Log in with valid credentials. 2. Use the browser back button. Expected Result: User remains on the dashboard or is logged out, depending on security settings. Priority: Medium