Add Label Filtering Support to Automation Coverage Widget in Analytics
Currently, most widgets in the Analytics section support filtering by labels, either through the UI or via queries. However, the Automation Coverage widget does not support label filtering, and it is not possible to select a label from a dropdown for this widget.
As a result, users cannot isolate automation coverage metrics for specific subsets of tests using labels (e.g., by country, team, etc.). This limits the flexibility and usefulness of the widget in larger projects where label-based filtering is essential.
Expected Behavior:
- The Automation Coverage widget should support filtering by labels, just like other widgets.
- The label filter should be available via dropdown in the UI, not only through query language.
- This will allow teams to analyze automation coverage per tag or label more effectively.
Use Case / Example:
A QA lead wants to check automation coverage only for own team test cases - label == "Team: Moneybox". Without label filtering, they have to manually parse or restructure data outside.
An additional use case for filtering by labels is looking at coverage for only Automatable test cases. While coverage generally may show 50% coverage, some tests are either not automatable or deemed "not automatable" due to the overhead for creation and maintenance for infrequently used tests. With this in mind, we track automation coverage for "Automatable" tests, resulting in a higher coverage, such as 75%. This feature would provide the ability for us to see a more accurate coverage analysis.