trivago / cluecumber

Clear and concise reporting for the Cucumber BDD JSON format.
https://www.softwaretester.blog
Apache License 2.0
271 stars 88 forks source link

Improve the filtering of "Search" fields #328

Closed matlaria90 closed 3 months ago

matlaria90 commented 8 months ago

Topic

The QA team members asked us to improve the filter actions provided by "Search" fields present into the html report. In the specific, they wanted to filter the failures test cases using the values prensent inside each column of the report section.

For example the image below show you the scenario failures for a specific execution and using th search field, the QA would want to filter using the name of the colulmn (feature, scenario, started) and some combinations.

e.g. They suggested us to adopt the same solution used on Jira Atlassian in order to filter its components :

feature ~ "NRT light" AND scenario not in ("GN-031", "GN-034")

based on this example, the result should display only the line that have a GN code different from 031 and 034 and releted to feature fils "NRT light"

image

bischoffdev commented 8 months ago

Interesting idea. However, this also sounds like something that could be achieved with tags as well. Also you can click on the feature to open the page that lists all scenarios in this feature and then use the search box. I will keep this feature in mind for a future iteration.

bischoffdev commented 3 months ago

The table component that is used for Cluecumber does not support using a custom search DSL.