Skip to content
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

HTML formatter shows extra space for hooks #2450

Open
vitalets opened this issue Dec 4, 2024 · 0 comments
Open

HTML formatter shows extra space for hooks #2450

vitalets opened this issue Dec 4, 2024 · 0 comments

Comments

@vitalets
Copy link

vitalets commented Dec 4, 2024

πŸ‘“ 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?

  1. 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 () {});
  1. Run cucumber with html formatter

πŸ“š Any additional context?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant