TEST TYPE: dashboard_functional Title: TC_FUNC_01_Verify_Food_Order_Link Scenario: Verify that clicking the "Food Order" link navigates to the food ordering page. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Food Order" link. Expected Result: The user is redirected to the food ordering page. Priority: High Title: TC_FUNC_02_Verify_Table_Booking_Link Scenario: Verify that clicking the "Table Booking" link navigates to the table booking page. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Table Booking" link. Expected Result: The user is redirected to the table booking page. Priority: High Title: TC_FUNC_03_Verify_Event_Pass_Link Scenario: Verify that clicking the "Event Pass" link navigates to the event pass page. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Event Pass" link. Expected Result: The user is redirected to the event pass page. Priority: Medium Title: TC_FUNC_04_Verify_Filters_Functionality Scenario: Verify that the "Filters" button displays filter options. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Filters" button. Expected Result: Filter options are displayed for the user to select. Priority: High Title: TC_FUNC_05_Verify_Sort_By_Functionality Scenario: Verify that the "Sort by" dropdown functions correctly. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Sort by" dropdown. 3. Select an option (e.g., Price). Expected Result: The restaurant list is sorted according to the selected option. Priority: High Title: TC_FUNC_06_Verify_Price_Filter Scenario: Verify that the "Price" filter displays restaurants within the selected price range. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Price" filter. 3. Select a price range. Expected Result: Only restaurants within the selected price range are displayed. Priority: High Title: TC_FUNC_07_Verify_New_On_Eatance_Filter Scenario: Verify that the "New On Eatance" filter displays newly added restaurants. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "New On Eatance" filter. Expected Result: Only newly added restaurants are displayed. Priority: Medium Title: TC_FUNC_08_Verify_Rating_Filter Scenario: Verify that the "Rating 4.0+" filter displays restaurants with a rating of 4.0 or higher. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Rating 4.0+" filter. Expected Result: Only restaurants with a rating of 4.0 or higher are displayed. Priority: Medium Title: TC_FUNC_09_Verify_Restaurant_Card_Details Scenario: Verify that restaurant cards display correct information (name, cuisine, location, distance, price, and offers). Steps to reproduce: 1. Navigate to the dashboard. 2. Inspect a restaurant card. Expected Result: The restaurant card displays the correct name, cuisine, location, distance, price, and offers. Priority: High Title: TC_FUNC_10_Verify_Sponsored_Label Scenario: Verify that sponsored restaurants are marked with a "Sponsored" label. Steps to reproduce: 1. Navigate to the dashboard. 2. Inspect restaurant cards for the "Sponsored" label. Expected Result: Sponsored restaurants are marked with a "Sponsored" label. Priority: Medium Title: TC_FUNC_11_Verify_Sign_In_Sign_Up_Link Scenario: Verify that clicking the "Sign In / Sign Up" link navigates to the authentication page. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "Sign In / Sign Up" link. Expected Result: The user is redirected to the authentication page. Priority: High Title: TC_FUNC_12_Verify_See_All_Link Scenario: Verify that clicking the "See all" link displays all restaurant brands. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the "See all" link under "Top Restaurant Brands." Expected Result: All restaurant brands are displayed. Priority: Medium Title: TC_FUNC_13_Verify_Navigation_Arrows Scenario: Verify that the navigation arrows scroll through the restaurant brands. Steps to reproduce: 1. Navigate to the dashboard. 2. Click on the navigation arrows under "Top Restaurant Brands." Expected Result: The restaurant brands scroll left or right accordingly. Priority: Medium Title: TC_FUNC_14_Verify_Responsive_Layout Scenario: Verify that the dashboard layout is responsive across different screen sizes. Steps to reproduce: 1. Open the dashboard on various devices (desktop, tablet, mobile). 2. Observe the layout and content arrangement. Expected Result: The layout adjusts appropriately for different screen sizes without content overlap. Priority: High Title: TC_FUNC_15_Verify_Pick_Up_Dine_In_Options Scenario: Verify that "Pick Up" and "Dine In" options are correctly displayed for each restaurant. Steps to reproduce: 1. Navigate to the dashboard. 2. Inspect the options on each restaurant card. Expected Result: "Pick Up" and "Dine In" options are displayed as available for each restaurant. Priority: Medium TEST TYPE: dashboard_negative Title: TC_NEG_01_Invalid_Restaurant_Count_Display Scenario: The restaurant count displayed does not match the actual number of restaurants listed. Steps to reproduce: 1. Navigate to the dashboard. 2. Verify the total number of restaurants displayed at the top. 3. Count the actual number of restaurant cards visible. Expected Result: The total count should match the actual number of restaurants listed. Priority: High Title: TC_NEG_02_Filter_Functionality_With_No_Restaurant_Match Scenario: Applying filters that result in zero restaurant matches should display an appropriate message. Steps to reproduce: 1. Click on the "Filters" button. 2. Apply a filter combination that does not match any restaurants. Expected Result: The system should display a message indicating no restaurants match the criteria. Priority: Medium Title: TC_NEG_03_Sorting_With_Invalid_Criteria Scenario: Attempt to sort restaurants with an invalid or unsupported criteria. Steps to reproduce: 1. Click on the "Sort by" dropdown. 2. Select an invalid or unsupported option. Expected Result: The system should not crash and should display an error message or ignore the request. Priority: Medium Title: TC_NEG_04_Invalid_Price_Filter_Input Scenario: Entering invalid inputs in the price filter field. Steps to reproduce: 1. Click on the "Price" button. 2. Enter invalid characters (e.g., letters or special characters) in the price field. Expected Result: The system should not accept invalid input and should prompt the user with an error message. Priority: High Title: TC_NEG_05_Invalid_Rating_Filter_Input Scenario: Entering invalid inputs in the rating filter field. Steps to reproduce: 1. Click on the "Rating 4.0+" button. 2. Enter an invalid rating (e.g., letters or numbers outside the 1-5 range). Expected Result: The system should not accept invalid input and should prompt the user with an error message. Priority: High Title: TC_NEG_06_Non_Responsive_Layout_On_Small_Screens Scenario: The layout is not responsive when viewed on smaller screens. Steps to reproduce: 1. Access the dashboard on a small screen device or resize the browser window to a smaller size. 2. Observe the layout and alignment of elements. Expected Result: The layout should adjust responsively without overlapping or misalignment. Priority: High Title: TC_NEG_07_Invalid_Sign_In_Credentials Scenario: Attempting to sign in using invalid credentials. Steps to reproduce: 1. Click on "Sign In / Sign Up" button. 2. Enter invalid email and password. 3. Attempt to sign in. Expected Result: The system should display an error message indicating invalid credentials. Priority: Medium Title: TC_NEG_08_Broken_Image_Links Scenario: Images fail to load due to broken links. Steps to reproduce: 1. Inspect the restaurant cards for images. 2. Disconnect the internet or simulate a broken image link. Expected Result: The system should display a placeholder image and not break the layout. Priority: Low Title: TC_NEG_09_Invalid_URL_Navigation Scenario: Attempting to navigate to an invalid or non-existing URL from the dashboard. Steps to reproduce: 1. Modify the URL to an invalid path. 2. Press enter to navigate. Expected Result: The system should display a 404 error page or redirect to a valid page. Priority: Medium Title: TC_NEG_10_Error_On_Missing_Location_Access Scenario: System error when location access is denied. Steps to reproduce: 1. Deny location access when prompted. 2. Refresh the dashboard. Expected Result: The system should handle the denial gracefully and provide options to manually enter a location. Priority: Medium