Contributions
Run Scenario when ends another other one (JAVA)
Hello! I'm running in parallel some scenarios, but i need run one when other ends... I don't know if it is possible... I don't want do a so long scenario in gherkin, i want to start the second when the first was ended. My run file: import io.cucumber.testng.AbstractTestNGCucumberTests; import io.cucumber.testng.CucumberOptions; import org.testng.annotations.DataProvider; @CucumberOptions( features = {"src/main/resources/features"}, plugin = { "pretty", "json:target/cucumber-reports/cucumber.json", "html:target/cucumber-reports/cucumber-pretty.html", "rerun:target/cucumber-reports/rerun.txt", "junit:target/cucumber-reports/cucumber.xml", }, glue = {"steps"}, tags = "@a", monochrome = true ) //@RunWith(Cucumber.class) public class runParallel extends AbstractTestNGCucumberTests { @Override @DataProvider(parallel = true) public Object[][] scenarios() { return super.scenarios(); } } Thanks for all!Solved4 years agoPlace Cucumber OpenCucumber Open3.2KViews0likes2Comments