cucumber-reporting icon indicating copy to clipboard operation
cucumber-reporting copied to clipboard

Maven cucumber reporting stopped working on update to Selenium 4.14.1 from Selenium 4.13.0

Open SeleniumNinja opened this issue 1 year ago • 2 comments

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:

cucumber-report.html
cucumber-report.json

This is test runner class

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(features="src/test/java/features",
        plugin = {"pretty", "json:target/jsonReports/cucumber-report.json",
                "html:target/jsonReports/cucumber-report.html"},
        glue= {"stepDefs"},
        stepNotifications = true,
        monochrome = true
        )
public class TestRunner {
}

I am using in POM

<dependency>
    <groupId>net.masterthought</groupId>
    <artifactId>maven-cucumber-reporting</artifactId>
    <version>5.7.6</version>
</dependency>

SeleniumNinja avatar Oct 30 '23 18:10 SeleniumNinja

are there any other dependencies requreid in POM to have this reports generated ?

SeleniumNinja avatar Nov 01 '23 10:11 SeleniumNinja

pom.xml is the only requirement for the project

damianszczepanik avatar Nov 02 '23 19:11 damianszczepanik