TEST TYPE: dashboard_functional Here are the functional test cases for the dashboard update focusing on the requirements provided: ### Test Case 1 **Title:** TC_FUNC_001_Validate_Schools_Comparison_Tab_Access **Scenario:** Verify that the 'Schools comparison' tab is accessible only to district admins. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Check for the presence of the 'Schools comparison' tab. **Expected Result:** The 'Schools comparison' tab should be visible. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A ### Test Case 2 **Title:** TC_FUNC_002_Validate_Schools_Comparison_Tab_Hidden_For_Other_Roles **Scenario:** Ensure that the 'Schools comparison' tab is hidden for teachers and school admins. **Preconditions:** User is logged in as a teacher or school admin. **Steps to Reproduce:** 1. Log in to the dashboard as a teacher. 2. Navigate to the 'Reports' page. 3. Check for the presence of the 'Schools comparison' tab. **Expected Result:** The 'Schools comparison' tab should not be visible. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A ### Test Case 3 **Title:** TC_FUNC_003_Validate_Overall_Stats_Aggregation **Scenario:** Verify that overall stats are correctly aggregated based on selected filters. **Preconditions:** User is logged in as a district admin and has selected specific filters. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Apply filters for specific schools and school year. 4. Observe the overall stats displayed. **Expected Result:** The overall stats should reflect only the selected schools and filters. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Selected filters: School year 2024-2025, Schools: School A, School B. ### Test Case 4 **Title:** TC_FUNC_004_Validate_No_Data_Message **Scenario:** Ensure that the message "No data available for the selected filters" is displayed when applicable. **Preconditions:** User is logged in as a district admin and has selected filters that yield no data. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Apply filters that do not match any data (e.g., custom date range with no records). **Expected Result:** The message "No data available for the selected filters" should be displayed in the charts. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Custom date range: Jan 1, 2023 - Feb 1, 2023. ### Test Case 5 **Title:** TC_FUNC_005_Validate_Chart_Data_For_Schools_Comparison **Scenario:** Confirm that the charts in the 'Schools comparison' tab display correct data for each school. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Observe the charts for number of users, logins, activities, and wellness check-ins. **Expected Result:** Each chart should display accurate data based on the selected filters. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Filters: School year 2024-2025. ### Test Case 6 **Title:** TC_FUNC_006_Validate_Drilldown_Functionality **Scenario:** Verify that clicking on 'View details' in a chart correctly navigates to the 'Utilization' tab with the appropriate filter. **Preconditions:** User is logged in as a district admin and is on the 'Schools comparison' tab. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Hover over a data bar in the 'Number of logins' chart. 5. Click on 'View details'. **Expected Result:** The user should be taken to the 'Utilization' tab with the filter applied for the selected school. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Selected school: School A. ### Test Case 7 **Title:** TC_FUNC_007_Validate_Export_Data_Functionality **Scenario:** Ensure that the 'Export data' feature exports the correct data to a CSV file. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Click on 'Export data'. 4. Confirm the export. 5. Open the downloaded CSV file. **Expected Result:** The CSV file should contain the correct columns and data matching the overview cards. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A ### Test Case 8 **Title:** TC_FUNC_008_Validate_Hover_Over_Data_Bar **Scenario:** Verify that hovering over a data bar highlights the school name and value correctly. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Hover over a data bar in any chart. **Expected Result:** The school name and value should be highlighted, and other bars should be dimmed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 9 **Title:** TC_FUNC_009_Validate_Stacked_Bar_Chart_For_Wellness_Checkins **Scenario:** Ensure that the wellness check-ins chart displays stacked bars for positive and difficult emotions. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Observe the wellness check-ins chart. **Expected Result:** The chart should display stacked bars for positive and difficult emotions. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 10 **Title:** TC_FUNC_010_Validate_Custom_Date_Range_Filter **Scenario:** Verify that the custom date range filter works correctly and updates the data displayed. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Choose 'Custom date range' and set a range that includes data. 5. Apply the filter. **Expected Result:** The charts and overall stats should update to reflect the data within the selected date range. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Custom date range: Jan 1, 2024 - Feb 28, 2024. ### Test Case 11 **Title:** TC_FUNC_011_Validate_Chart_Ordering **Scenario:** Ensure that the charts are arranged in descending order based on the data values. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Observe the order of the charts displayed. **Expected Result:** The charts should be arranged in descending order based on the values displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 12 **Title:** TC_FUNC_012_Validate_Responsive_Design_On_Mobile **Scenario:** Verify that the dashboard is responsive and functions correctly on mobile devices. **Preconditions:** User is logged in as a district admin on a mobile device. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin on a mobile device. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Interact with the charts and filters. **Expected Result:** The dashboard should display correctly and be fully functional on the mobile device. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 13 **Title:** TC_FUNC_013_Validate_Tooltip_Information **Scenario:** Ensure that tooltips provide accurate information when hovering over data points. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Hover over a data point in any chart. **Expected Result:** The tooltip should display the correct school name and corresponding value. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 14 **Title:** TC_FUNC_014_Validate_Chart_Refresh_On_Filter_Change **Scenario:** Verify that changing filters refreshes the charts accordingly. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Change the school year filter. 5. Observe the charts. **Expected Result:** The charts should refresh and display data corresponding to the new filter. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Change school year from 2024-2025 to 2023-2024. ### Test Case 15 **Title:** TC_FUNC_015_Validate_Exported_Data_Columns **Scenario:** Ensure that the exported CSV file contains the correct columns as specified. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Click on 'Export data'. 4. Open the downloaded CSV file. **Expected Result:** The CSV file should contain columns: School name, Number of teachers/admins, Number of students, Number of logins, Number of activities, Number of wellness check-ins. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A ### Test Case 16 **Title:** TC_FUNC_016_Validate_Exported_Data_Totals **Scenario:** Verify that the totals in the exported CSV match the totals displayed in the overview cards. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Click on 'Export data'. 4. Open the downloaded CSV file. 5. Compare totals in the CSV with the overview cards. **Expected Result:** The totals in the CSV should match the totals displayed in the overview cards. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A ### Test Case 17 **Title:** TC_FUNC_017_Validate_Chart_Visibility_On_Scroll **Scenario:** Ensure that charts remain visible and functional when scrolling through the 'Schools comparison' tab. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Scroll down through the charts. **Expected Result:** All charts should remain visible and functional during scrolling. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 18 **Title:** TC_FUNC_018_Validate_Chart_Interaction_On_Mobile **Scenario:** Verify that users can interact with charts on mobile devices as intended. **Preconditions:** User is logged in as a district admin on a mobile device. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin on a mobile device. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Tap on a data point in any chart. **Expected Result:** The tooltip should display the correct information, and the 'View details' link should be functional. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 19 **Title:** TC_FUNC_019_Validate_Chart_Stacking **Scenario:** Ensure that the activities completed chart stacks activities by user type correctly. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Observe the activities completed chart. **Expected Result:** The chart should display stacked bars for each user type (students, teachers, admins). **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A ### Test Case 20 **Title:** TC_FUNC_020_Validate_Chart_Visibility_With_Large_Data **Scenario:** Verify that the charts display correctly when there are many schools in the district. **Preconditions:** User is logged in as a district admin with a district containing many schools. **Steps to Reproduce:** 1. Log in to the dashboard as a district admin. 2. Navigate to the 'Reports' page. 3. Select the 'Schools comparison' tab. 4. Observe the charts and check for a list view option if necessary. **Expected Result:** Charts should display correctly, and a list view option should be available if there are too many schools. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** N/A These test cases cover a range of functional scenarios for the updated dashboard, ensuring that the requirements are thoroughly validated. TEST TYPE: dashboard_negative Here are the negative test cases for the dashboard update focusing on invalid inputs, error handling, and edge cases: --- **Title:** TC_NEG_001_Invalid_School_Year_Filter **Scenario:** Verify the behavior when an invalid school year is selected from the filter. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Attempt to select an invalid school year (e.g., "2025-2026"). 3. Click on the "Apply Filters" button. **Expected Result:** An error message should appear indicating "Invalid school year selected." No data should be displayed. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Invalid school year "2025-2026". --- **Title:** TC_NEG_002_Custom_Date_Range_No_Data **Scenario:** Verify the behavior when a custom date range is selected that does not contain any data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Select "Custom date range" from the filter options. 3. Set the start date to "Jan 1, 2023" and end date to "Jan 31, 2023". 4. Click on the "Apply Filters" button. **Expected Result:** A message should display "No data available for the selected filters." **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Start date "Jan 1, 2023", End date "Jan 31, 2023". --- **Title:** TC_NEG_003_Empty_School_Filter **Scenario:** Verify the behavior when no schools are selected in the school filter. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Leave the school filter empty. 3. Click on the "Apply Filters" button. **Expected Result:** An error message should indicate "Please select at least one school." No data should be displayed. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** No schools selected. --- **Title:** TC_NEG_004_Invalid_Date_Format **Scenario:** Verify the behavior when an invalid date format is entered in the custom date range. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Select "Custom date range" from the filter options. 3. Enter "31-12-2023" as the start date and "01-01-2023" as the end date. 4. Click on the "Apply Filters" button. **Expected Result:** An error message should indicate "Invalid date format. Please use MM/DD/YYYY." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Start date "31-12-2023", End date "01-01-2023". --- **Title:** TC_NEG_005_Export_No_Data **Scenario:** Verify the behavior when attempting to export data with no available data. **Preconditions:** User is logged in as a district admin and no filters yield data. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure that filters are set to a range with no data. 3. Click on the "Export data" option. **Expected Result:** A message should display "No data available for export." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Filters set to a range with no data. --- **Title:** TC_NEG_006_Drilldown_No_Data **Scenario:** Verify the behavior when attempting to drill down on a chart with no data. **Preconditions:** User is logged in as a district admin and a chart shows no data. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Hover over a data point in a chart that has no data. 3. Click on "View details". **Expected Result:** An error message should indicate "No details available for the selected data." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Chart with no data. --- **Title:** TC_NEG_007_Insufficient_Permissions **Scenario:** Verify the behavior when a non-district admin tries to access the 'Schools comparison' tab. **Preconditions:** User is logged in as a teacher or school admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Attempt to access the 'Schools comparison' tab. **Expected Result:** An error message should display "You do not have permission to access this tab." **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** User role: Teacher or School Admin. --- **Title:** TC_NEG_008_Export_Data_Without_Selection **Scenario:** Verify the behavior when attempting to export data without any filters applied. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Click on the "Export data" option without applying any filters. **Expected Result:** A warning message should indicate "Please apply filters before exporting." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** No filters applied. --- **Title:** TC_NEG_009_Empty_Chart_Data **Scenario:** Verify the behavior when a chart is displayed with no data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Set filters that yield no data. **Expected Result:** The chart should display "No data available for the selected filters." **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Filters set to yield no data. --- **Title:** TC_NEG_010_Invalid_Export_Confirmation **Scenario:** Verify the behavior when an invalid confirmation response is given during data export. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Click on "Export data". 3. Click "Cancel" in the confirmation dialog. **Expected Result:** The export process should be aborted, and no data should be exported. **Actual Result:** To be filled during execution. **Priority:** Low **Test Data:** N/A. --- **Title:** TC_NEG_011_Chart_Drilldown_Nonexistent_School **Scenario:** Verify the behavior when attempting to drill down on a non-existent school in the chart. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Hover over a non-existent school in the chart. 3. Click on "View details". **Expected Result:** An error message should indicate "School data not found." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Non-existent school name. --- **Title:** TC_NEG_012_Chart_Empty_After_Filter **Scenario:** Verify the behavior when applying filters that lead to an empty chart. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Apply filters that are known to yield no data. **Expected Result:** The chart should indicate "No data available for the selected filters." **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Filters set to yield no data. --- **Title:** TC_NEG_013_Export_With_Unsupported_Characters **Scenario:** Verify the behavior when attempting to export data containing unsupported characters. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure that the data contains unsupported characters (e.g., emojis). 3. Click on "Export data". **Expected Result:** An error message should indicate "Data contains unsupported characters." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Data with unsupported characters. --- **Title:** TC_NEG_014_Chart_Interaction_Without_Data **Scenario:** Verify the behavior when interacting with a chart that has no data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure a chart is displayed with no data. 3. Attempt to hover over the chart. **Expected Result:** No interaction should occur, and no tooltips should be displayed. **Actual Result:** To be filled during execution. **Priority:** Low **Test Data:** Chart with no data. --- **Title:** TC_NEG_015_Export_Data_With_Empty_Fields **Scenario:** Verify the behavior when attempting to export data that contains empty fields. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure that some fields in the data are empty. 3. Click on "Export data". **Expected Result:** An error message should indicate "Cannot export data with empty fields." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Data with empty fields. --- **Title:** TC_NEG_016_Chart_Access_Without_Login **Scenario:** Verify the behavior when a user attempts to access the dashboard without logging in. **Preconditions:** User is not logged in. **Steps to Reproduce:** 1. Attempt to navigate to the dashboard URL directly. **Expected Result:** The user should be redirected to the login page with a message "Please log in to access this page." **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** N/A. --- **Title:** TC_NEG_017_Chart_Sorting_With_No_Data **Scenario:** Verify the behavior when attempting to sort a chart that has no data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure a chart is displayed with no data. 3. Attempt to sort the chart. **Expected Result:** The chart should remain unchanged and indicate "No data available for sorting." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Chart with no data. --- **Title:** TC_NEG_018_Chart_Interaction_With_Expired_Data **Scenario:** Verify the behavior when interacting with a chart that displays expired data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure the chart is displaying data that is outside the active date range. 3. Attempt to interact with the chart. **Expected Result:** An error message should indicate "Data is expired and cannot be interacted with." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Expired data in the chart. --- **Title:** TC_NEG_019_Chart_Refresh_With_No_Data **Scenario:** Verify the behavior when refreshing a chart that has no data. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure a chart is displayed with no data. 3. Refresh the chart. **Expected Result:** The chart should still indicate "No data available for the selected filters." **Actual Result:** To be filled during execution. **Priority:** Low **Test Data:** Chart with no data. --- **Title:** TC_NEG_020_Chart_Interaction_With_Deleted_School **Scenario:** Verify the behavior when interacting with a chart that includes data from a deleted school. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Navigate to the dashboard. 2. Ensure the chart includes data from a school that has been deleted. 3. Attempt to interact with the data point for the deleted school. **Expected Result:** An error message should indicate "Data for this school is no longer available." **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Data from a deleted school. --- These test cases are designed to thoroughly assess the robustness of the dashboard against negative scenarios and ensure that appropriate error handling mechanisms are in place. TEST TYPE: dashboard_ui ### Test Cases for Dashboard UI --- **Title:** TC_UI_01_Schools_Comparison_Tab_Visibility **Scenario:** Verify that the 'Schools comparison' tab is visible to district admins and hidden for teachers and school admins. **Preconditions:** User is logged in as a district admin, teacher, and school admin. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Check for the presence of the 'Schools comparison' tab. 4. Log out and log in as a teacher. 5. Navigate to the dashboard. 6. Check for the absence of the 'Schools comparison' tab. 7. Log out and log in as a school admin. 8. Navigate to the dashboard. 9. Check for the absence of the 'Schools comparison' tab. **Expected Result:** The 'Schools comparison' tab is visible for district admins and hidden for teachers and school admins. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** User credentials for district admin, teacher, and school admin. --- **Title:** TC_UI_02_Overall_Stats_Display **Scenario:** Verify that the overall stats are displayed correctly at the top of the page. **Preconditions:** User is logged in as a district admin and has selected a school year. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Select a school year from the filter. 4. Observe the overall stats displayed at the top of the page. **Expected Result:** The total number of schools, users, students, logins, and activities completed should match the data for the selected filters. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** Valid school year with data. --- **Title:** TC_UI_03_Chart_Data_Representation **Scenario:** Verify that the charts display data correctly based on the selected filters. **Preconditions:** User is logged in as a district admin and has selected a school year with data. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Select a school year from the filter. 4. Observe the charts under the 'Schools comparison' tab. **Expected Result:** Charts should accurately reflect the number of users, logins, activities, and wellness check-ins for the selected school year. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** Valid school year with data. --- **Title:** TC_UI_04_No_Data_Available_Message **Scenario:** Verify that the message "No data available for the selected filters" appears when no data is available. **Preconditions:** User is logged in as a district admin and selects a date range with no data. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Select 'Custom date range' and input a range with no data. 4. Observe the charts. **Expected Result:** The message "No data available for the selected filters" should be displayed in the charts. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** Custom date range that does not have any data. --- **Title:** TC_UI_05_Hover_Over_Chart_Data **Scenario:** Verify that hovering over a data bar highlights the school name and value. **Preconditions:** User is logged in as a district admin and has data displayed in charts. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Hover over a data bar in the 'Number of logins' chart. **Expected Result:** The school name and value should be highlighted, and other bars should dim. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** Valid data in the 'Number of logins' chart. --- **Title:** TC_UI_06_Drilldown_Functionality **Scenario:** Verify that clicking on the 'View details' link takes the user to the 'Utilization' tab with the correct filter applied. **Preconditions:** User is logged in as a district admin and has data displayed in charts. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Hover over a data bar in the 'Number of logins' chart. 4. Click on the 'View details' link. **Expected Result:** The user should be redirected to the 'Utilization' tab with the filter applied for the selected school. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** Valid data in the 'Number of logins' chart. --- **Title:** TC_UI_07_Export_Data_Confirmation **Scenario:** Verify that the 'Export data' option prompts for confirmation before exporting. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Click on the 'Export data' option. **Expected Result:** A confirmation prompt should appear asking for confirmation to export the data. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** None. --- **Title:** TC_UI_08_Exported_Data_Columns **Scenario:** Verify that the exported CSV file contains the correct columns and totals. **Preconditions:** User is logged in as a district admin and has selected filters. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Click on the 'Export data' option and confirm. 4. Open the exported CSV file. **Expected Result:** The CSV should contain columns for School name, Number of teachers/admins, Number of students, Number of logins, Number of activities, Number of wellness check-ins, and totals for each column. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** Valid filters applied. --- **Title:** TC_UI_09_Tab_Organization **Scenario:** Verify that the dashboard is organized into the specified sections. **Preconditions:** User is logged in as a district admin. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Check the organization of the dashboard sections: Schools comparison, Utilization, Wellness check-ins, Student Assessments, Teacher Surveys. **Expected Result:** The dashboard should be organized into the specified sections with relevant information in each. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** None. --- **Title:** TC_UI_10_Chart_Scaling **Scenario:** Verify that charts are built in appropriate size and scale to display all information. **Preconditions:** User is logged in as a district admin and has data displayed in charts. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Observe the size and scale of the charts in the 'Schools comparison' tab. **Expected Result:** Charts should be appropriately sized and scaled to display all information without clipping. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** Valid data in the charts. --- **Title:** TC_UI_11_Filter_Selection_Impact **Scenario:** Verify that changing the school year filter updates the data displayed in the charts. **Preconditions:** User is logged in as a district admin and has data displayed in charts. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Select a different school year from the filter. 4. Observe the charts. **Expected Result:** The charts should update to reflect the data for the newly selected school year. **Actual Result:** To be filled during execution **Priority:** High **Test Data:** Valid school years with data. --- **Title:** TC_UI_12_Responsive_Design **Scenario:** Verify that the dashboard is responsive and displays correctly on mobile devices. **Preconditions:** User is logged in as a district admin and has access to a mobile device. **Steps to Reproduce:** 1. Log in as a district admin on a mobile device. 2. Navigate to the dashboard. 3. Observe the layout and functionality of the dashboard. **Expected Result:** The dashboard should be fully functional and visually appealing on mobile devices. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** None. --- **Title:** TC_UI_13_Language_Translations **Scenario:** Verify that all UI elements are correctly translated based on selected language. **Preconditions:** User is logged in as a district admin and has access to language options. **Steps to Reproduce:** 1. Log in as a district admin. 2. Change the language to French or Spanish. 3. Navigate to the dashboard. 4. Observe the translations of all UI elements. **Expected Result:** All UI elements should be correctly translated to the selected language. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** Language options available. --- **Title:** TC_UI_14_Stacked_Bar_Chart_Validation **Scenario:** Verify that the wellness check-ins chart displays positive and difficult emotions in a stacked bar format. **Preconditions:** User is logged in as a district admin and has data for wellness check-ins. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Observe the wellness check-ins chart. **Expected Result:** The wellness check-ins chart should display positive and difficult emotions in a stacked bar format. **Actual Result:** To be filled during execution **Priority:** Medium **Test Data:** Valid data for wellness check-ins. --- **Title:** TC_UI_15_List_View_Option **Scenario:** Verify that the option to view charts in a list format is available when there are too many schools to display. **Preconditions:** User is logged in as a district admin and has more schools than can be displayed on the screen. **Steps to Reproduce:** 1. Log in as a district admin. 2. Navigate to the dashboard. 3. Observe the display of schools in the 'Schools comparison' tab. 4. Check for the option to switch to list view. **Expected Result:** An option to view the charts in a list format should be available. **Actual Result:** To be filled during execution **Priority:** Low **Test Data:** Valid data with multiple schools.