Description
As a user, I can filter the Test Runs in the Test Runs Summary gadget based on time ranges.
Similar to the Tests Evolution gadget, the data filtering should be based in the selection of a Date Range field and then some fields depending on that.
Date Range: either Custom, Time frame or Planned dates from Test Executions
- if "Custom", then you need to provide the dates of the time period:
- Start date and End date: only the Test Runs with start date and end date between this range will be considered
- if "Time frame", then it can be either:
- Current Week
- Last Week
- Current Month
- Last Month
- Last Days
ACs:
- if "Time Frame" => "Last Days" is chosen, then the user must select the number of days (6 by default), which must be a non-negative number >= 0; choosing "6" means that Xray will consider Test Runs from the last 6 days (excluding today, whose inclusion is implicit); choosing 0 will only consider Test Runs from today
- by default, whenever adding the gadget in a dashboard, Date Range should have the value Time Frame => Current Week
- if "Planned dates from Test Executions" is chosen, then the minimum Begin Date and the maximum End Date will be chosen as start and end dates respectively
- is Time frame => current week, last week, current month, last month is chosen or Custom is selected, then the date range will be chosen based on the selected period
Attachments
Issue Links
- relates to
-
XRAY-3348 As a user, I can filter Test Runs on the Test Evolution gadget based on the last past days
- Closed