Questions tagged [cucumber]
Cucumber is a tool for running automated acceptance tests written in a BDD (behaviour-driven development) style.
241
questions
0
votes
0
answers
21
views
Unable to run feature files parallel with JUnit 4 and "mvn test" command?
I want to run my 5 Cucumber feature files with "Mvn test" Command parallely. Now, the "mvn test" or 'mvn build" runs fine and maven builds the project, but feature file dont ...
0
votes
1
answer
40
views
How to repeat the same test with Selenium Webdriver without opening a new browser instance each time?
I am using Selenium Webdriver on Node.js with Cucumber.js.
I want to run the same test on multiple pages. In this case just checking for 404s in my footer.
My Cucumber .feature file looks like:
...
0
votes
0
answers
12
views
Parallel feature files execution in Cucumber with TestNG runner? [duplicate]
How to run multiple feature files parallely in cucumber with TestNG runner?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>...
0
votes
0
answers
38
views
How to run multiple Feature files parallelly in Cucumber with TestNG Runner?
I am facing one issue: I need to run 5 feature files that are totally independent of each other, Each feature files logs into a different site. I want 5 different ChromeDriver Browser sessions to open ...
0
votes
0
answers
13
views
loginPage login is not imported stuck on that point
package StepDefinations;
import java.time.Duration;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import io.cucumber.java.en.And;
import io.cucumber.java.en....
0
votes
0
answers
25
views
Cucumber selenium testng getting error in testrunner
package Runner;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import io....
0
votes
1
answer
128
views
What is the best way to set up multiple tests on one webpage with Selenium Webdriver and Cucumber JS?
I am new to automated testing, Selenium and Cucumber.JS and am trying to set it up in Node.JS to run several tests on my website.
I have gotten single scenarios/test working fine, but I am a bit ...
0
votes
0
answers
142
views
Can't walk dependency graph: Cannot find module '
When I try to run cypress using Cucumber, I got
This is the structure of the folders
The file I am trying to run is purchaseOrderCheckScreen.feature
Cypress package version: 9.7.0
Cypress binary ...
1
vote
1
answer
818
views
How to share data between steps in Cucumber feature file?
I am designing automation scripts using the REST APIs, RestAssured with Cucumber BDD framework. I have multiple APIs where one API's response is used as a parameter in another API.
Here is my feature ...
0
votes
0
answers
277
views
how to send allure report as a attachment in email from jenkins to outlook
This is the email configuration
could you please guide me on which path i should use to get the allure report?
0
votes
1
answer
58
views
Cucumber, TestNG, Parallel - sometimes webdriver not controlling browser
I'm using Cucumber, TestNG, WebDriver, WebDriverFactory and PicoContainer. Scenarios run in parallel. I'm getting strange intermittent failures - every now and then (perhaps one in 20 runs) in one of ...
0
votes
0
answers
70
views
The selector is not recognized by selenium java
I have the following HTML code for a button:
<div class="link" data-background-color="#fb00ff" style="background-color: rgb(251, 0, 255);">
<div data-replace-...
0
votes
0
answers
861
views
Allure report not generated when one or more test cases at pending status, due to Cucumber tags
Error message; allure-results does not exist.
When test cases pass failed only report generated with no issue.
Project created by Cypress, Cucumber with typescript
Run in Jenkins/Docket image
Jenkins ...
0
votes
0
answers
874
views
Java Cucumber - junit does not run any test
could you tell me why "mvn test" or "mvn verify" does not run any test ? Maybe any dependency is missing ?
package cucumber.Options;
import io.cucumber.junit.Cucumber;
import io....
1
vote
1
answer
2k
views
Java Cucumber - pretty html reports net.masterthought - No JSON report file was found
I get the following error when I run the code
About to generate Cucumber report.
May 02, 2023 6:55:06 PM net.masterthought.cucumber.ReportBuilder generateErrorPage
WARNING: Unexpected error
net....