TEST TYPE: dashboard_functional Title: TC_FUNC_01_Order_Status_Change_On_Delivery Scenario: Verify that the order status changes to 'Paid by Restaurant' once the order is delivered. Steps to reproduce: 1. Create an order and deliver it through the system. 2. Check the order status in the dashboard after delivery. Expected Result: The order status should change to 'Paid by Restaurant'. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_02_Driver_App_Order_Color_Change Scenario: Ensure the order appears with a different color/icon in the driver application when the driver pays the restaurant immediately. Steps to reproduce: 1. Create an order with 'Driver pays restaurant immediately' marked. 2. Accept the order in the driver application. 3. Observe the order appearance. Expected Result: The order should appear with a different color or icon in the driver application. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_03_Display_Payable_Amount Scenario: Check that the driver's order grid displays the restaurant's payable amount. Steps to reproduce: 1. Accept an order with 'Driver pays restaurant immediately' marked. 2. Navigate to the order grid in the driver application. Expected Result: The restaurant's payable amount should be displayed in the order grid. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_04_Additional_Charges_Added Scenario: Verify that additional charges (commission, service fee, etc.) are added to the collected cash. Steps to reproduce: 1. Complete an order with additional charges applicable. 2. Review the collected cash details in the order summary. Expected Result: Commission, service fee, tax fee, and delivery charge should be added to the collected cash. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_05_Order_Marked_As_Paid_Upon_Delivery Scenario: Confirm that an order is marked as paid by the restaurant once delivered. Steps to reproduce: 1. Deliver an order. 2. Check the order status in the dashboard. Expected Result: The order should be marked as paid by the restaurant after delivery. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_06_Order_Grid_Updates_Immediately Scenario: Ensure the order grid updates immediately when the order is marked 'Driver pays restaurant immediately'. Steps to reproduce: 1. Accept an order with 'Driver pays restaurant immediately'. 2. Verify the order grid for updates. Expected Result: The order grid should reflect the status change immediately. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_07_Verify_Icon_Change Scenario: Verify that a specific icon is displayed for orders marked 'Driver pays restaurant immediately'. Steps to reproduce: 1. Mark an order as 'Driver pays restaurant immediately'. 2. Check the driver's application for the order icon. Expected Result: A specific icon indicating immediate payment should be visible. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_08_All_Charges_Calculated_Correctly Scenario: Verify that all charges are calculated correctly in the order summary. Steps to reproduce: 1. Complete an order with various charges. 2. Review the order summary for charge details. Expected Result: All charges should be calculated correctly and displayed. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_09_Order_Status_Reflects_Real_Time Scenario: Confirm that the order status reflects real-time changes on delivery. Steps to reproduce: 1. Deliver an order. 2. Monitor the order status change in real-time. Expected Result: The order status should update in real-time on delivery. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_10_Driver_Notification_On_Status_Change Scenario: Check that the driver receives a notification when the order status changes. Steps to reproduce: 1. Change the order status by delivering it. 2. Observe any notifications in the driver application. Expected Result: The driver should receive a notification regarding the status change. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_11_Verify_Collected_Cash_Updates Scenario: Ensure the collected cash updates correctly when an order is delivered. Steps to reproduce: 1. Deliver an order. 2. Check the collected cash details in the order summary. Expected Result: Collected cash should reflect accurate updates post-delivery. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_12_Icon_Color_Match_Specification Scenario: Validate that the icon color matches the specification for immediate payment orders. Steps to reproduce: 1. Mark an order as 'Driver pays restaurant immediately'. 2. Compare the icon color to the specification. Expected Result: The icon color should match the defined specification. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_13_Order_Grid_Reflects_Immediate_Payment Scenario: Verify that the order grid reflects orders marked for immediate payment accurately. Steps to reproduce: 1. Accept an order with 'Driver pays restaurant immediately'. 2. View the order grid for immediate payment orders. Expected Result: The order grid should accurately reflect these orders. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_14_Real_Time_Order_Updates Scenario: Confirm dashboard reflects real-time updates when the order status changes. Steps to reproduce: 1. Deliver an order. 2. Observe the dashboard for real-time status updates. Expected Result: The dashboard should display real-time updates for order status. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_15_Driver_Application_Refresh_Rate Scenario: Ensure the driver application refreshes at an appropriate rate to show status changes. Steps to reproduce: 1. Change the order status. 2. Monitor the driver's application for refresh and update. Expected Result: The application should refresh promptly to reflect order status changes. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_16_Charges_Breakdown_Displayed Scenario: Verify that a detailed breakdown of charges is displayed in the order summary. Steps to reproduce: 1. Complete an order with various charges. 2. View the order summary for a breakdown of charges. Expected Result: A detailed breakdown of charges should be visible in the summary. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_17_Immediate_Payment_Icon_Visibility Scenario: Check for visibility of the immediate payment icon in the driver's application. Steps to reproduce: 1. Accept an order marked for immediate payment. 2. Look for the immediate payment icon in the driver app. Expected Result: The immediate payment icon should be clearly visible. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_18_Order_History_Shows_Payment_Status Scenario: Confirm that order history accurately shows payment status updates. Steps to reproduce: 1. Deliver an order. 2. Access the order history to check payment status. Expected Result: The order history should accurately reflect the payment status. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_19_Notification_Timing_After_Status_Change Scenario: Verify that notifications to the driver occur promptly after status change. Steps to reproduce: 1. Change the order status by marking it as delivered. 2. Check the timing of the notification received by the driver. Expected Result: Notification should be prompt and occur immediately after status change. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_20_Order_Summary_Accurate_Post_Delivery Scenario: Ensure the order summary is accurate and updated post-delivery. Steps to reproduce: 1. Deliver an order. 2. Review the order summary for accuracy. Expected Result: The order summary should be accurate and reflect all relevant updates post-delivery. Actual Result: [To be filled during execution] Priority: High