Open SeleniumNinja opened 1 year ago
are there any other dependencies requreid in POM to have this reports generated ?
pom.xml is the only requirement for the project
@SeleniumNinja - With my limited understanding on your POM, I hope you have a plugin setup for your execution which will generate this report. I am using mvn plugin for this reporting and it was working fine with all previous versions of Selenium4. We are currently on 4.25 and the maven plugin doesn't complaint while generating the report unless the json file is huge.
Earlier we were generating the report through java code depending on the dependency you have highlighted but later we migrate to the plugin to transfer all these heavy lifting to plugin to take care which will align automatically will future enhancements/optimizations/upgrades from the tool.
Below is the plugin def I am using, in case you are not using the plugin yet.
`
` Refer maven-cucumber-reporting for more details.
After update to selenium 4.14.1 from selenium 4.13.0 cucumber reporting masterthought maven-cucumber-reporting stopped generating reports with a use of maven command: mvn verify -Dcucumber.filter.tags=@desktop. On selenium 4.13.0 everything was fine.
In target folder /jsonReport both files are empty:
This is test runner class
I am using in POM