damianszczepanik / cucumber-reporting

HTML reports for Cucumber
GNU Lesser General Public License v2.1
543 stars 402 forks source link

How to add execution duration at scenario level in cucumber reports #1115

Open AdithyaSriramoju04 opened 10 months ago

AdithyaSriramoju04 commented 10 months ago

Hi there,

If you look at the HTML report per the screenshot below, the scenario has different steps and contains the execution duration at each step. Similarly, how can I add the total execution duration of that scenario at the scenario level ??

cucumber snap

cucumber hrml report

damianszczepanik commented 10 months ago

What framework are you using, configuration and output looks different from https://damianszczepanik.github.io/cucumber-html-reports/overview-features.html

AdithyaSriramoju04 commented 10 months ago

yes, it's a different one. I'm using WebDriverIO with JavaScript - Cucumber framework. Can you please help me on how to set the execution duration at scenario level in cucumber-html-report?

damianszczepanik commented 10 months ago

You already have it https://damianszczepanik.github.io/cucumber-html-reports/report-feature_1_1515379431.html