You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whitespaces in feature uri cause errors in browser console in Cucumber HTML report.
👓 What did you see?
There are errors in browser console:
uuid must be a valid HTML5 id but was given "features/my feature.feature", ASCII whitespaces are forbidden
pc @ report.html:47
uuid must be a valid HTML5 id but was given "accordion__heading-features/my feature.feature", ASCII whitespaces are forbidden
✅ What did you expect to see?
No errors in browser console.
📦 Which tool/library version are you using?
npx cucumber-js --version
10.3.1
🔬 How could we reproduce it?
Steps to reproduce the behavior:
Install @cucumber/cucumber version 10.3.1
Create feature file with whitespaces in path, e.g. 'features/my feature.feature'
Implement steps
Run cucumber with html formatter npx cucumber-js -f html:report.html
Whitespaces in feature uri cause errors in browser console in Cucumber HTML report.
👓 What did you see?
There are errors in browser console:
✅ What did you expect to see?
No errors in browser console.
📦 Which tool/library version are you using?
🔬 How could we reproduce it?
Steps to reproduce the behavior:
npx cucumber-js -f html:report.html
📚 Any additional context?
In the changelog I've found that this issue was fixed in v16.0.2, but in the codebase I see that doc.uri is still used as a uuid.
This text was originally generated from a template, then edited by hand. You can modify the template here.
The text was updated successfully, but these errors were encountered: