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

ExtentSparkReport html file #40

Closed LearningPur closed 4 years ago

LearningPur commented 4 years ago

Hi @anshooarora Is there a workaround sending only index.html file to other party (Stackholder) to review the list of automation test cases can have an access of "dashboard as well tag" on click of it ?

ExtentHtmlReporter used to provide this feature just by sending index.html file other can also view the dashboard and tag or any object that are visible in index.html.

ExtentSparkReporter forcefully required to send dashboard.html and tag.html files along with index.html.

Please find attached below 2 zip files

1) Just index html file : This has only index.html file when you open it and navigate to dashboard or tag it throws "Your file was not found" error on browser

Just index html file.zip

2) index dashboard and tag html files : This has index, dashboard and tag html files. When you open index.html in any browser and navigate to dashboard or tag it does allow to view it.

index dashboard and tag html files.zip

Thanks Victor

LearningPur commented 4 years ago

@anshooarora , If you have few min can you please reply on my question above.

Thanks Victor

anshooarora commented 4 years ago

Starting extentreports:4.1.0, Spark creates a single file just like HtmlReporter. Can you add latest as a dependency and check?

anshooarora commented 4 years ago

Also - refer changelog.

LearningPur commented 4 years ago

Thanks @anshooarora will update the dependency and check.

LearningPur commented 4 years ago

It worked @anshooarora thanks