Use the list of statuses with scenarios that actually ran as a base for filtering Gherkin documents.
We sort of half-fixed this in https://github.com/cucumber/react-components/pull/273, but needed to also feed the list of appropriate status to the document filter so that it doesn't show documents when nothing from them ran.
Using the example of a test run where several documents were found but only one scenario ran (e.g. because of a name or tag filter):
🤔 What's changed?
Use the list of statuses with scenarios that actually ran as a base for filtering Gherkin documents.
We sort of half-fixed this in https://github.com/cucumber/react-components/pull/273, but needed to also feed the list of appropriate status to the document filter so that it doesn't show documents when nothing from them ran.
Using the example of a test run where several documents were found but only one scenario ran (e.g. because of a name or tag filter):
Before
After
⚡️ What's your motivation?
Fixes https://github.com/cucumber/html-formatter/issues/49
🏷️ What kind of change is this?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.