extent-framework / extentreports-cucumber4-adapter

Cucumber4 Adapter for Extent Framework
http://extentreports.com/docs/versions/4/java/cucumber2.html
Apache License 2.0
39 stars 22 forks source link

Incorrect status shown in Extent HTML report #44

Closed Lakssh closed 4 years ago

Lakssh commented 4 years ago

Hi,

I am using extent adapter 1.0.10 and facing a weird issue of incorrect status being displayed in the HTML report. Actually Executed 4 tests and 2 are failed. However in the extent report, it shows as below image

Extent report dependency

com.aventstack extentreports-cucumber4-adapter 1.0.10

cucumber and testng versions 4.8.1</io.cucumber>

7.1.0 **Extent Properties** extent.reporter.avent.start=false extent.reporter.bdd.start=false extent.reporter.cards.start=false extent.reporter.email.start=false extent.reporter.html.start=true extent.reporter.klov.start=false extent.reporter.logger.start=false extent.reporter.spark.start=false extent.reporter.tabular.start=false extent.reporter.avent.config= extent.reporter.bdd.config= extent.reporter.cards.config= extent.reporter.email.config= extent.reporter.html.config= extent.reporter.klov.config=src/test/resources/com/aventstack/adapter/klov.properties extent.reporter.logger.config= extent.reporter.spark.config= extent.reporter.tabular.config= extent.reporter.avent.out=test-output/AventReport/ extent.reporter.bdd.out=test-output/BddReport/ extent.reporter.cards.out=test-output/CardsReport/ extent.reporter.email.out=test-output/EmailReport/ExtentEmail.html extent.reporter.html.out=test-output/HtmlReport/ExtentHtml.html extent.reporter.logger.out=test-output/LoggerReport/ extent.reporter.spark.out=test-output/SparkReport/ extent.reporter.tabular.out=test-output/TabularReport/ screenshot.dir=test-output/ screenshot.rel.path=../
zuzeac commented 4 years ago

A similar problem I encounter were the skipped scenarios are not recorded. Only fails and pass. One device just died and the rest of the test were skipped but not recorded in extent or spark report. Any idea?

anshooarora commented 4 years ago

Please check with version 1.0.11 using SparkReporter. HtmlReporter has been deprecated.

anshooarora commented 4 years ago

This has been fixed in #50. https://github.com/extent-framework/extentreports-cucumber4-adapter/commit/00526ec129986f839cc982b8bd9d3e6c82e7ae7d