Closed
Description
π What did you see?
When running tests with many Before
hooks, these hooks are outputted as empty <li>
elements in the HTML formatter. It leads to extra space:


The same is for other hook types.
β What did you expect to see?
No extra space for hooks in HTML formatter.
π¦ Which tool/library version are you using?
node -v
v20.14.0
npx cucumber-js -v
11.1.0
π¬ How could we reproduce it?
- Add many Before hooks to your cucumber-js project, e.g.:
Before(async function () {});
Before(async function () {});
Before(async function () {});
Before(async function () {});
Before(async function () {});
Before(async function () {});
Before(async function () {});
- Run cucumber with html formatter
π Any additional context?
No response
Metadata
Metadata
Assignees
Labels
No labels