Cucumber-Non-functional: look and feel for steps and scenario headline needs improvement
Hi @anshooarora ,
I was going through the SparkReporter Cucumber report and just felt that the look and feel in Test Panel needs improvement. If I expand the scenario(right of attached image) , it looks very weird and it's difficult for anyone to easily distinguish between a scenario headline and its step to contract it back. Situation gets more worse when there are multiple scenarios in feature file.
It looks low priority as of now but would really matter if fixed. may be a color change or some font alterations etc.
I am attaching screenshot for your reference.
What version is this?
Extentreports: 4.1.7 & extentreports-cucumber4-adapter: 1.0.12
Can you try with 1.2.0?
Hi @anshooarora , Below are my observations after using cucumber-adapter: 1.0.12 along with extent-report 5.0.0(klov-reporter added to exclusions).
- Look and Feel got improved. Better than earlier.
- I am not able to generate report in dark mode even if theme set to DARK in spark-config.xml and other config as mentioned here -> https://github.com/extent-framework/extentreports-cucumber4-adapter/tree/master/config
- Spark Report is getting generated via JSON Formatter in JSON format but existing JSON file(Extent.json) in path ("test-output/JsonReport/Extent.json") is not getting considered when "extent.reporter.spark.start=true & extent.reporter.json.start=false/true". I use to use this feature to merge multiple json reports and generate a single final html report. It was possible in 4.1.5 version. Wish this is also possible via adapter. Eg: extent.createDomainFromJsonArchive method
- In Dashboard Section, Steps Count Not != Sum of total of Passed Steps under Tags. Sending the report via email. Please check.
@anshooarora : did you get any chance to look into this issue ?
The latest v1.2.1 resolves 2 & 3. For 4, it should match up as it counts the total number of tests, not steps.
@anshooarora : I verified with adapter version 1.2.1 & extentreport - 5.0.1 by reexecuting same test twice. It is overwriting the earlier JSON file and the spark report generated is showing only one test instead of two with the same name. Hence observation 3 above needs to be fixed.
Below is my config
--# spark-reporter extent.reporter.spark.start=true extent.reporter.spark.config= extent.reporter.spark.out=target/test-classes/ExtentReports/SparkReport/Index.html
--# klov-reporter extent.reporter.klov.start=false extent.reporter.klov.config=src/test/resources/klov.properties
--# json-reporter extent.reporter.json.start=true extent.reporter.json.out=target/test-classes/ExtentReports/JsonReport/Extent.json
--# screenshot config screenshot.dir=test-output/ screenshot.rel.path=../