1,371 questions
0 votes
0 answers
66 views
Cucumber parallel execution shows flaky logs
I have this class: @Suite @IncludeEngines("cucumber") @SelectClasspathResource("features") public class IntegrationTest { } And cucumber is configured for parallel execution in ...
9 votes
1 answer
3k views
Unable to run tests with latest cucumber version 7.24.0
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 ...
0 votes
0 answers
52 views
How to use regex in cucumber options for java or how to grep scenario tags with regex for execution
I have the following issue in my cucumber java project although I can find all scenarios with a fixed tag name via tags parameter, see below: @CucumberOptions(plugin = {"json:target/...
0 votes
0 answers
60 views
Cucumber Listener Invoked Before Spring Boot Context Initialization Causing NullPointerException
I'm integrating Cucumber with Spring Boot to manage an Appium server for my tests. I a custom listener that implements ConcurrentEventListener and is attached via @CucumberOptions in my test runner. ...
0 votes
1 answer
44 views
how does cucumber switch between scenarios
I have two separate feature files: login.feature, which tests the login functionality by entering an email and password. forgotpwd.feature, which allows users to reset their password. Each feature ...
-1 votes
2 answers
116 views
Execute cucumber feature files from devops pipeline
i am trying to run my cucumber feature files from a pipeline i created on devops. on my local machine, running the feature files works from the command line as expected using the following command: ./...
0 votes
0 answers
50 views
Cucumber: Can't convert DataTable to List<java.lang.String>. Can anyone tell me how to solve this?
Scenario: IF a component is already existing in the database THEN the SW shall inform the user #SRS-4 Notify user about an existing component Given The database contains the following files ...
0 votes
0 answers
122 views
Allure doesn't display the links and descriptions added in Cucumber @Before or @After hooks
I'm facing an issue where the links and descriptions added inside the @Before hooks in Cucumber are not visible in the Allure report. They do not show up as steps, and since these hooks are not ...
0 votes
0 answers
57 views
Failed to parse plugin descriptor for net.masterthought:cucumber-reporting:5.8.4 : No plugin descriptor found at META-INF/maven/plugin.xml
Error: Failed to parse plugin descriptor for net.masterthought:cucumber-reporting:5.8.4 (C:\Users\AngshumanBasak.m2\repository\net\masterthought\cucumber-reporting\5.8.4\cucumber-reporting-5.8.4.jar): ...
0 votes
0 answers
32 views
How to run feature files in parallel by package in cucumber in java?
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 ...
0 votes
0 answers
141 views
Allure property allure.serve.host is not working
I have a java project for api and end-to-end ui testing and right now I am changing my reports from Serenity to Allure. I've setup the serve goal in my maven verify phase and it works fine, but Allure ...
0 votes
0 answers
30 views
Is there any way we can wait in the execution until cucumber.json and cucumber.html files generated and loaded with content?
I tried to copy cucumber.json and cucumber.html files from target folder to other folder which is suffixed with date and time. I am able to copy to destination folder but cucumber.html file and ...
0 votes
0 answers
132 views
Cucumber: Using ConcurrentEventListener How to Update Step Status Dynamically
Using Cucumber-java: v7.18.1 In scenarios where soft assertions are used, screenshots are captured when softAssertions.assertAll() is invoked. To ensure screenshots are taken for each soft assertion ...
1 vote
1 answer
187 views
Allure Test Report - Steps showing the display name as ClassName.HooksMethodName()
I have cucumber framework with Cucumber hooks setup for Test Steps but the Test method name is displayed on the Ui instead of the step nameReport Snipet @AfterStep public static void afterStep(...
1 vote
0 answers
66 views
Why does the Cucumber report show only one feature when there should be two?
I have a Maven project with Java using Cucumber to generate the report. It includes Register and Login features. The project executes well, but when reviewing the Cucumber report, only the Login ...