Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
395 views

After the upgrade to version 7.23 of io.cucumber:cucumber-bom I'm getting Unable to load class 'org.junit.platform.engine.support.discovery.DiscoveryIssueReporter'. when trying to run my tests. I ...
Dennis's user avatar
  • 33
9 votes
1 answer
3k views

I have the below maven dependencies in my project using the latest cucumber version 7.24.0 and the tests are not getting executed. All these tests run successfully if I switch to 7.23.0 . Any idea ...
rakesh's user avatar
  • 456
0 votes
0 answers
81 views

I have AWS lambda with Java 21 and integration tests with cucumber using test containers and cucumber junit platform (including @Suite). When I am running tests from it/java package, Cucumber tests ...
Edgar Yeghiazaryan's user avatar
0 votes
0 answers
32 views

I have a selenium cucumber java framework which runs feature files parallel using sure fire plugin in pom.xml. But now we have a new requirement where we need to run these files by package instead of ...
Sobhit Sharma's user avatar
1 vote
0 answers
307 views

I am having the below error while trying to call another feature file which will launch the Splunk UI to capture a accessToken and returns to my feature where I am going to use that token to run my ...
Phani Bhushan Manne's user avatar
1 vote
1 answer
222 views

I've been battling this issue for 2 days, but out of options I guess. I'm not a guru in Cucumber or Gradle, but since my area of expertise is close (Java/Spring/Maven), I've been working on updating ...
Yury K.'s user avatar
  • 671
0 votes
1 answer
62 views

I am new in Cucumber and want to write optime code for 50 test cases. Every test case has different examples (set of test data flags) and different one when, different one then steps. How can I write ...
Rahil Kumar's user avatar
0 votes
1 answer
188 views

I have two domain specific junit5 platform cucumber test suites. A: @Suite @IncludeEngines("cucumber") @SelectPackages("de.bla.blubb1") @SelectClasspathResource("de/bla/blubb1&...
Kuronashi's user avatar
  • 305
1 vote
2 answers
417 views

This is an example of my runner class. @RunWith(Cucumber.class) @CucumberOptions( tags = "@tryout", plugin = {"pretty", "html:target/cucumber-...
Said's user avatar
  • 33
0 votes
1 answer
134 views

I'm producing JUnit XMLs executing Cucumber tests with Gradle. The result XML looks like this: <?xml version='1.0' encoding='UTF-8'?> <testsuite name="Cucumber" time="109.736&...
crusy's user avatar
  • 1,530
0 votes
0 answers
202 views

I have the below use case. I have multiple feature files each feature file consists of scenarios as listed below. Feature1: @capture Scenario C1: @capture Scenario C2: . . . @capture Scenario Cn: @...
Avi's user avatar
  • 29
0 votes
2 answers
583 views

I am using cucumber project to execute test scenarios. Now want to execute parallelly using Junit5. project details <dependency> <groupId>org.junit.jupiter</groupId> <...
Akshay Kachare's user avatar
0 votes
2 answers
874 views

If I have a feature that looks like this: Feature: My feature Scenario Outline: My scenario outline. Given foo When bar Then I get the status code "<Status Code>". ...
DrRelling's user avatar
  • 312
0 votes
1 answer
98 views

I am using mikepenz/[email protected] to import junit xml results to JIRA. It was working well earlier this year and suddenly started failing with below error in github: Error: 🔥 Failed to import: /...
Manjiri's user avatar
0 votes
1 answer
265 views

I have a test project that tests an application that's constantly getting updated. As such, I'm asked quite frequently to run regression tests for it and to keep track of which report is for which ...
Sparsh Sondhi's user avatar
2 votes
1 answer
754 views

Given the code found here I am able to programmatically run cucumber tests. Inside the step definition class I have commented the constructor injection of DummyService. If I uncomment, then I receive (...
florin's user avatar
  • 807
1 vote
1 answer
177 views

Are there some API (for Java lang) which can be used to: Retrieve the list of features files and all their scenarios Retrieve list of tags With information from 1 and 2, run a subset of these feature/...
florin's user avatar
  • 807
0 votes
1 answer
337 views

i have 2 scenarios in my feature file and i need to run only 1 scenario, can you please suggest me some mvn test command to do it if i do : mvn test -Dcucumber.options="src\test\resources\...
Tharun S M's user avatar
1 vote
1 answer
460 views

I have multiple feature file with the tags @run_first @run_second @run_third file m.feature Feature: test feature1 Background: * print " test feature1" @run_first Scenario: run first ...
Birendra Kumar's user avatar
0 votes
1 answer
21 views

I want to validate the Text message displayed on the Bounce toast. I have tried many things link implicit wait and others. Can anyone suggest how to do it? WebDriverWait wait = new WebDriverWait(...
VirajQA's user avatar
1 vote
1 answer
274 views

I might be a little bit light on the mechanism of how Cucumber works with Spring, but my current understanding is that if there's a class on the classpath with some Cucumber hook in it, the Cucumber ...
David Kubecka's user avatar
0 votes
1 answer
112 views

I am new to Cucumber and learning automation testing, here i have an example table but i am not able to run all the table content and it says only 1 Scenarios (1 passed). please help !! Demo.feature ...
Tharun S M's user avatar
0 votes
0 answers
36 views

Pom .xml <plugin> <groupId>net.masterthought</groupId> <artifactId>maven-cucumber-reporting</artifactId> <...
Shubha Rao's user avatar
1 vote
1 answer
788 views

Problem: When using newer version of Cucumber & Junit5 with cucumber-junit-platform-engine, mvn test runs both unit tests and integration tests. We can no longer run them separately, and I'm ...
Thnxalot's user avatar
0 votes
0 answers
377 views

I'm trying to use the Cucumber Junit Platform engine for running my cucumber tests, but none are run. They're all placed inside resources/features. I have a RunCucumberTest.java class: @Suite @...
Pablo Fradua's user avatar
0 votes
0 answers
60 views

I want to keep the app in the foreground while executing feature files using CucumberAndroidJUnitRunner , Right now after executing below command from application, app is going background , but i ...
Saikumar S's user avatar
0 votes
1 answer
288 views

I have this issue when I try to run pipeline in Azure DevOps, I work with selenium + cucumber + java. I have this error message : npm WARN deprecated [email protected]: Please upgrade to version 7 or higher....
zd ha's user avatar
  • 13
0 votes
1 answer
382 views

I wrote a Cucumber testcase with Citrus Framework where I wanted to test an HTTP Call which internally publishes a message to Kafka. I wrote a testcase to validate this behaviour using "Given, ...
Vishnukanth's user avatar
1 vote
1 answer
2k views

I checked some similar questions, but did not found an answer for mine. The most similar question was this question, but it's for TestNG. May be somebody faced an issue like me and solved it already? ...
DJ-Glock's user avatar
  • 1,453
1 vote
1 answer
251 views

I am trying to write one karate script. The URL is working completely fine in postman and even in karate. But the problem is in one of the scenarios a particular test case is failing because of 504 ...
user avatar
0 votes
0 answers
368 views

My project have 2 runners files and and 3 feature files and I was using cucumber 4. My team wants to upgrade to cucumber 6 and I am running through terminal using below command mvn test -DEnv=qa -...
kamala priyanka's user avatar
0 votes
1 answer
617 views

I am using Cucumber 7.13.0 with Junit 5 (cucumber-junit-platform-engine - 7.13.0). My tests are only picking feature file path configured in TestRunner class. they are not picking up feature file from ...
Evra's user avatar
  • 3
0 votes
1 answer
52 views

Newbie/refresher at Cucumber in Java and have searched stack overflow trying various fixes (removing the scope from the JUnit dependency, changing the program structure language to 10, restarting and ...
Kirsty Meredith's user avatar
0 votes
1 answer
1k views

`Trying to create an hooks in cucumber framework getting below error not sure what i am missing Suppressed:io.cucumber.java.InvalidMethodSignatureException: A method annotated with Before, After, ...
guru's user avatar
  • 19
1 vote
1 answer
466 views

Created a new Java Cucumber project with the command - mvn archetype:generate "-DarchetypeGroupId=io.cucumber" "-DarchetypeArtifactId=cucumber-archetype" "-DarchetypeVersion=...
user22566874's user avatar
0 votes
1 answer
124 views

Getting error: java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.WebDriver.get(String)" because "this.driver" is null I am trying to create sample framework but ...
guru's user avatar
  • 19
1 vote
0 answers
16 views

we're using Karate Framwork in our project for API automation so the karate its basically work with a cucumber feature file(Gerkhin keyword based) so is that possible to connect zephyr board with this ...
Dinesh's user avatar
  • 11
0 votes
0 answers
370 views

I'm facing an issue with setting up Cucumber tests using JUnit. I have followed the steps mentioned in the documentation, but the Cucumber runner is not finding my feature files. Here's a brief ...
Claudia Carolina Langer's user avatar
0 votes
1 answer
2k views

I updated the serenity version. We used the 3.3.2 version and I updated to use the most recent one 3.9.8. The new version broke the serenity report generation. The report is not generated anymore in ...
Vayas Zsolt Marton's user avatar
0 votes
1 answer
117 views

I have created a small training Cucumber project. My project tree: project tree pom dependencies: <dependencies> <dependency> <groupId>org.seleniumhq.selenium&...
MadD08's user avatar
  • 11
0 votes
1 answer
206 views

We are running Cucumber Tests and upload the results into Jira using the xRay Plugin. The uploaded report is a cucumber json report. Sometimes we attach files to the cucumber scenario and therefor to ...
Tobi's user avatar
  • 13
0 votes
0 answers
115 views

Hello can anyone please advise for below case. I have implemented Cuc7+Junit5 to run scenarios in parallel, I have 34 scenarios to Run in parallel 'cucumber.execution.parallel.config.fixed.parallelism=...
Vaibhav's user avatar
  • 13
0 votes
1 answer
1k views

I am testing a Springboot application using cucumber (v7.2.3). I have a feature file to test application using @SpringBootTest and @Suite (from junit-platform) I am using @ConfigurationParameter to ...
Prashant Bhardwaj's user avatar
0 votes
0 answers
95 views

I'm adding Cucumber to an existing but relatively new Spring Boot app. The app has the following test runner: package com.odinkirk.codecserver.integration; // imports @RunWith(Cucumber.class) @...
odinkirk's user avatar
0 votes
1 answer
1k views

I am using EmbeddedActiveMQResource in my spring boot. While running the integration tests I see lots of javax.jms.JMSException: Failed to create session factory and this is because I am not ...
DarkCrow's user avatar
  • 860
0 votes
1 answer
1k views

Implemented (Junit5+ Cucumber7) parallelism on local machine using @Suite in RunCucumberTest How do we run a single scenario @tag? (getting below error) @Suite @IncludeTags("@Tag") added in ...
Vaibhav's user avatar
  • 13
0 votes
0 answers
106 views

I have cloned the java-cucumber project and opened in IntelliJ, when I start doing debugging, I am not able to do it. I can set the break points but execution is not stopping at the debug pointer. I ...
Manjunath Kotagi's user avatar
1 vote
1 answer
644 views

I have a Spring Boot 2.5.4 project with some @SpringBootTest tests and some @Cucumber tests. I am using gradle to build. I have noticed that my build is failing depending on where it's executed, and I ...
Vincent F's user avatar
  • 7,503
0 votes
0 answers
174 views

There is a requirement where I have to add extension in browser before running scripts. For that I decided to use Browser Options (EdgeOptions).Browser option is introduced in selenium 4. All required ...
Sumit Soni's user avatar
1 vote
0 answers
6k views

I am facing issue with - io.cucumber.core.backend.CucumberBackendException: Please annotate a glue class with some context configuration issue when upgrading Spring , Gradle Gradle - 7.6 , Spring boot ...
Rasika's user avatar
  • 41

1
2 3 4 5
12