Compatibility 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, Siva323Views0likes0CommentsIn 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?316Views0likes0CommentsCan 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.654Views0likes2CommentsJava - 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?575Views0likes0CommentsCucumber After hooks execution order
Hello, I'm working on a project in which we're utilising Ruby/Watir with Cucumber and we have a hooks file in which we've defined numerous After hooks in our framework. Now the problem is that there is no execution order set for the after hooks, so the privilege an After hook is taking before all the after hooks is making Bearer token and another after hook code is unable to perform the task it is supposed to do, is there any way to setup the execution order for after hooks like after(option=1) and after(option=0), I saw this options in Java but it does not support in Ruby, thank you.716Views0likes0Comments