cucumber Questions
5
Solved
I have an form that I want to automate using Cucumber and Selenium Webdriver in Java - in this form, we have a card element which we use from Stripe. We call the div, and stripe does the rest. I'm ...
Fletafletch asked 15/2, 2018 at 10:58
2
Ever since I upgraded to latest community edition of IntelliJ 15.0.3, whenever I auto generate a step definition from the feature definition file using alt + enter, it creates the method in camel c...
Contextual asked 26/2, 2016 at 8:12
5
Solved
I updated from Cucumber-JVM 2.4.0 to 3.0.2 in my pom.xml and DataTables started throwing this exception:
io.cucumber.datatable.UndefinedDataTableTypeException: Can't convert
DataTable to List&l...
Phallus asked 9/6, 2018 at 7:16
4
Solved
So I recently started working on Cucumber and have been facing this issue.
This is the hierarchy of my module
As you can see this is submodule in my Spring Boot application (AcceptanceTests), so t...
Caucasian asked 3/1, 2023 at 7:27
6
Solved
I upgraded Cypress from 9.5.2 to 10.3.0 and previously I was using cypress-cucumber-preprocessor:4.3.1 now I upgrade it to @badeball/cypress-cucumber-preprocessor:^11.4.0.
Before the upgrade, I was...
Herrmann asked 22/7, 2022 at 7:17
11
I am using cucumber to feed scenario and java as a language.
I need to ignore particular scenario, while running an automation test.
I have tried with below @ignore syntax, it doesn't work at all...
Hanlon asked 7/1, 2016 at 12:31
3
Solved
I want to handle numeric parameters in the Cucumber step definitions. Please let me know how I can do this.
Scenario Outline: Enter an invalid URL
Given the context "Invalid URL" is open...
Jackfish asked 9/9, 2015 at 8:50
3
Solved
Learning 'capybara' and bumped into issue of finding the hidden elements through capybara.
In HTML, we have an file field which is 'display: none' by default. HTML element is:
<input class="so...
7
Solved
I encountered the following issue. I have four Cucumber feature files in IntelliJ. I added the Cucumber support via the IntelliJ plugin. After creating my features I edited my configuration like fo...
Troglodyte asked 22/1, 2019 at 11:47
9
Trying to implement cucumber to do some automated tests. jUnit tests. I've created 2 files and edited pom.xml that comes with maven project to add dependencies. Content is shown below. The first of...
Amphitropous asked 12/2, 2014 at 20:9
8
I'm trying to run a .feature file to test a simple RESTEasy web application: https://github.com/dashorst/jaxrs-quickstart-resteasy.
However, the IntelliJ keeps saying that:
Undefined step: Given...
Kryska asked 21/5, 2017 at 21:52
10
I have created a Cucumber feature file and steps file, then I have clicked "Run configurations" for feature file and I see the following in the console. How can I solve this problem?
*Fea...
Burnish asked 29/8, 2021 at 16:11
6
Solved
Chrome version: 59.0.3071.104
I am using Cucumber, Capybara, Selenium to implement automation testing with Headless Chrome.
features/support/env.rb
require 'rubygems'
require 'capybara/cucumber'
...
Casals asked 16/6, 2017 at 14:19
7
Solved
I'm currently working on a java test framework with cucumber, JUnit and Selenium. I've already worked on projects like that, but I'm experiencing an issue on this one.
I'm trying to create a Conte...
Transcendentalism asked 30/11, 2015 at 12:49
7
I need to pass the List of strings from cucumber scenario which works fine as below
Scenario Outline: Verify some scenario
Given something
When user do something
Then user should have some "<...
Permanence asked 11/7, 2017 at 11:53
5
Could someone suggest me a solution why when I run the test using command mvn test to run the cucumber runner class ExampleRunnerTest located in \src\test\java it runs but the maven build doesn't r...
Exhalant asked 29/6, 2015 at 13:46
8
Solved
This is my first cucumber project and i followed a tutorial when setting everything up. It all seems to be the same but for some reason i get this:
java.lang.ExceptionInInitializerError.
Caus...
Onanism asked 18/1, 2022 at 13:32
1
I have two kind of tests running for my React application. For unit test I am using Jest.
For feature test I am just starting to try Cucumber @cucumber/cucumber. I initially wanted to use jest-cucu...
Matchboard asked 3/12, 2023 at 0:47
5
Solved
I am currently using selenium with Java,And want to implement cucumber to make test script more readable.
Currently facing issue while passing argument to java method where Enum is expected as para...
Aphelion asked 11/1, 2016 at 9:33
5
Solved
I have a special listbox that I could automate best by sending a down arrow and pressing enter.
I can press enter like so:
listbox_example = find(input, "listbox-example")
listbox-example.set("st...
1
Recently Playwright implemented new UI mode which could be runned with npx playwright test --ui
I'm using cucumber-js with Playwright.
Is any way to run cucumber tests with playwright in that --ui ...
Inductive asked 17/4, 2023 at 13:51
11
In my cucumber -jvm, Maven, junit Setup I have my testRunner file as
package com.lebara.testrunner;
import cucumber.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@Cu...
Ignazio asked 21/1, 2013 at 11:32
2
Solved
I am using webdriverIO v7 (latest stable version) and cucumber.
I get that error: Error: The "from" argument must be of type string. Received undefined
This is the stack trace:
2021-04-08...
Palmation asked 8/4, 2021 at 19:12
8
I can perform actions on test failure by using:
@After
public void afterTest(Scenario scenario) {
if (scenario.isFailed()) {
/*Do stuff*/
}
}
However some of the actions I need to perform dep...
3
Solved
Is there a way to define the cleanup steps for all of the scenarios for a feature in Cucumber? I know that Background is used to define the setup steps for each scenario that follows it, but is the...
Appolonia asked 22/2, 2013 at 18:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.