extent-framework / extentreports-java

Extent Reporting Library, Java
http://extentreports.com
Apache License 2.0
220 stars 125 forks source link

Dashboard Chart are Improperly Labeled for Cucumber Test Results #358

Open grillsgt opened 2 years ago

grillsgt commented 2 years ago

When using Extent Reports to present Cucumber test results, the charts on the Dashboard are not properly labeled.

The Tests chart should be Features. The Steps chart should be Scenarios. The blank chart should be Steps. The Log events chart is fine as is.

Screen Shot 2022-08-01 at 4 44 58 PM
grasshopper7 commented 2 years ago

Ideally this should not be the dashboard display for Cucumber. The "Log Events" doughnut is not present. This seems to be the TEST analysis strategy display. Extentreport automatically uses the BDD style when any gherkin syntax is used. The BDD display outputs the exact labels you are looking for. You can try by setting the analysis strategy explicitly to BDD.