cucumber-js
cucumber-js copied to clipboard
Feature: allow to provide titles for link list in html formatter
🤔 What's the problem you're trying to solve?
Currently HTML formatter can show link list as raw URIs. With long URIs it can lead to cluttered ui:
✨ What's your proposed solution?
Allow this.link() to accept list of objects { title: string, url: string }:
this.link(
{ title: 'Cucumber-js', url: 'https://github.com/cucumber/cucumber-js?param=value' },
{ title: 'Cucumber-jvm', url: 'https://github.com/cucumber/cucumber-jvm?param=value' },
);
Then output in reporter would be as follows:
⛏ Have you considered any alternatives or workarounds?
No response
📚 Any additional context?
No response