Test Runs Page
This page provides an overview of all test runs within the current project. Test runs are specific instances where a set of test cases are executed against a particular configuration or environment.
Page Layout
The page is structured within a card layout and features:
-
Header:
- Displays the title "Test Runs".
- Shows the current Project Name and Icon.
- Includes an Add Test Run button (visible to users with appropriate permissions - Admin or Project Admin) to open the Add Test Run Modal.
-
Tabs:
- Active: Shows test runs that are currently in progress (not marked as completed).
- Completed: Shows test runs that have been marked as completed.
Active Tab
This is the default view. Active test runs are grouped by their associated milestone:
-
Milestone Groups: Each milestone with associated active test runs is displayed as a collapsible section header. The header shows:
- Milestone Icon and Name (See Milestone Details)
- Milestone Status Badge (e.g., Upcoming, In Progress, Completed)
- Milestone Dates (Start/End/Due)
- An Add Test Run button (
+icon) specific to that milestone, allowing you to quickly create a run linked to it.
-
Unscheduled Runs: Test runs not linked to any milestone are grouped under a special "Unscheduled" section header.
- This section also has an Add Test Run button to create an unscheduled run.
-
Test Run Items: Within each group (Milestone or Unscheduled), individual test runs are listed. See Test Run Item Details for more information.
Test runs within milestone groups are sorted by creation date. Milestones themselves are sorted logically (often chronologically based on start/end dates or a defined order).
-
Empty State: If there are no active test runs, a message is displayed, along with a prominent Create Test Run button (if the user has permission).
Completed Tab
This tab displays a flat list of all test runs that have been marked as completed.
- Sorting: Completed runs are sorted by their completion date, with the most recently completed runs appearing first.
- Test Run Items: Each completed run is displayed using the Test Run Item component, showing key details.
- Empty State: If there are no completed test runs, a message indicating this is shown.