Cucumber-Java question.
Hello, We are using cucumber(with java) in our project for the automation(with mvn). I have a case where I need to execute one feature file, say feature_fil1 in the beginning of the suite. Since all our features files are running in parallel(we are using the parallel execution), I can trigger this file only from the pom.xml. How can I invoke a feature file directly from pom.xml and then I would like to invoke other feature files(with the parallel execution). I would appreciate any help on this. Thanks.6Views0likes0CommentsCompatibility Issues
Hello , I just wanted to know the compatility versions of Node JS and Cucumber JS. Currently I have nodeJS version v16.20.2 and cucumberJS version as 10.0.0, it is saying that,"Cucumber can only run on Node.js versions 18 || >=20". Can anyone tell, which version of cucumberJS should I use with NodeJSv16.20.2? Regards, Siva337Views0likes0CommentsIn this quick tutorial you will learn how to (10 Minute Tutorial)
Hello! I am trying to create a new project as per thehttps://cucumber.io/docs/guides/10-minute-tutorial/cucumber tutorial, but I am haveing this message " Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2082:" what number should I choose? Can anyone help please233Views0likes0CommentsIntelliJ IDEA shows execution steps in wrong test cases
Hello, Version 7.14.0 of: * cucumber-spring * cucumber-java * cucumber-junit-platform-engine 1. When running tests in parallelby JUnit5, IJ shows execution output in random test cases in a tree places which makes running it from IJ useless 2. When running Scenario Outline with examples, examples don't have replaced placeholder with actual values in test cases tree which makes it harder to find what example has actually failed (we migrated from Cucumber 4 so we are surprised examples where properly shown in earlier version, but here they are not really convininet) Does anyone managed to solve above issues?317Views0likes0CommentsCan we skip example data sets
Hi All, I need your help ASAP on this. I am having 5 sets of test data using examples keyword. Here my case is if scenario is passed with one of the data set it should exit and go to next scenario. It shouldn't execute other data sets. Please guide me if this is possible in cucumber.663Views0likes2CommentsJava - execution order between Junit tags and Cucumber hook tags - which ones go first?
Hello, is there any conjunction between Junit tags and Cucumber hook tags execution order ? I have a project with Cucumber feature file, step definition file and page object model. In feature file I want use tag@pageOneand@pageTwo then in Cucumber hook class I have: public static List<String> list; @Before(@pageOne) public void beforeOne (Scenario scenario) { list = scenario.getSourceTagsNames().stream().collect(Collectors.toList()); } @Before(@pageTwo) public void beforeOne (Scenario scenario) { list = scenario.getSourceTagsNames().stream().collect(Collectors.toList()); } Then in other class I have @Before Junit annotation. @Before public void setUpProperties() { Properties properties = new Properties(); properties.load(new FileInputStream(appConfigPath)); if (list.contains(@pageOne)) { String url = properties.getProperty("pageOne"); } if (list.contains(@pageTwo)) { String url = properties.getProperty("pageTwo"); } So I have to run @Before cucumber tag earlier than Junit @before tag because I have to pass ivalue from cucumber before method to junit before method. Is this possible to set annotation tags order ? I want to run cuumber tag earlier than junit tag. Thank you417Views0likes0CommentsCucumber HTML report does not render when opened via an email
I am trying to send a cucumber HTML report from Jenkins through email. The report is generated successfully in Prestige Park Grove, but when I open it from the email, it does not render properly. What could be the reason for this?589Views0likes0Comments