-
Notifications
You must be signed in to change notification settings - Fork 11
Regression: Filter-by seems to not pull through only cases matching filter type. #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm running on Cucumber JS 8.0.0 which uses @cucumber/html-formatter 19.0.0 and I have same problem when searching the report. We tag some of our scenarios with the @bug tag or @JIRA-ID tags and I thought we will be easily search all the scenarios related to the bugs just by searching by the @bug tag. But search returns some random selection of the scenarios where the tag does not even appear. Is this related to the cucumber/react or the cucumber/html-formatter? It almost seems the React app is responsible for search? |
Indeed, search is implemented in the react app. Here specifically for any one who wants to take a look: https://github.com/cucumber/cucumber-react/blob/main/src/search/Search.ts |
I've looked into the source code and more specifically to the specs for the tag search and those specs are quite convincing, in terms of what they test and if they pass it should be working... HOWEVER: Search for Features without the Rule keyword seems to work as expected, it's just that the Features with Rule are always mixed in to the results. I think that changing the test suite fixture to the following would reveal the problems.
This fixture would produce report where the feature would be visible all the time regardless of the Filters. I'll verify this by trying to run the test suite later. |
Previously in cucumber 5.3 -> cucumber-html-formatter 9 this functionality worked
Currently in cucumber 7 -> cucumber-html-formatter 16 this functionality is no longer working
Describe the bug
Filter-by passed seems to pull in additional test cases
To Reproduce
Steps to reproduce the behavior:
I have a report that has the following
passed 128 scenarios
skipped 24 scenarios
unknown 59 scenarios
Expected behavior
Filtering works returns only the ones checked
Screenshots
Can pair and show video
Desktop (please complete the following information):
Additional context
In console we get one warning
The text was updated successfully, but these errors were encountered: