cucumber Questions
3
Solved
Trying to run a scenario with cucumber/selenium/java/intelliJ, but getting an error regarding the DataTable in one of the steps. The dataTable was working fine and converting the arguments for the ...
Fauve asked 9/4, 2019 at 11:15
2
Solved
Lately I found playwright and it seems really nice. The problem I found is in implementation of cucumber or gherkin syntax generally. While in cypress for example its pretty easy task here it looks...
Inkling asked 29/1, 2022 at 20:59
5
Solved
I have some SpecFlow features (using the Gherkin syntax) and I would like to temporarily disable the feature to prevent its tests from running?
Is there an attribute I can mark the feature with to...
5
Solved
I want to specify certain setup and tear down steps for each specific feature file. I've seen hooks that allows code to execute before every scenario, and hooks to execute code before each feature,...
Agrobiology asked 17/9, 2013 at 17:43
5
I am using cucumber/capybara/selenium/firefox on Mac. All working great except for d&d. Drag and drop is available via drag_node.drag_to(drop_node). When called, it does not raise any errors bu...
Nashua asked 17/10, 2011 at 16:10
3
Solved
I'm doing e2e and bdd tests using Angular 5, Protractor and Cucumber. When I run on terminal ng e2e I get the following error:
When I open the page # e2e\steps\home.steps.ts:15
Error: functio...
Nawrocki asked 16/4, 2018 at 16:27
13
Solved
I'm trying to follow this article to match Cucumber specs with step definitions in IntelliJ.
When I press Alt+Enter, I see Inspection 'Undefined Step' options. However, I should see the intention ...
Nominal asked 21/7, 2014 at 6:12
0
I get:
Test run failed to complete. Instrumentation run failed due to Process crashed.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':renetik-android-pres...
Junco asked 22/4, 2023 at 14:50
4
Solved
I'm implementing a SchedulerService that uses a AgentRestClient bean to get some data from an external system. It looks something like this:
@Service
public class SchedulerService {
@Inject
pri...
Pincushion asked 27/12, 2016 at 15:21
9
Solved
I try to build my first executable specifications with Java and Maven. I created a simple project with this structure:
specification
|-src
|-test
|-java
|-mypackage
|-MyFeatureTest.java
|-res...
Qadi asked 12/3, 2012 at 7:23
5
Solved
I'm trying to run Cucumber with Maven on a UNIX-like (unfortunately I'm forced to use Windows, though cmd.exe has the same results) command line:
mvn clean test -Dcucumber.options="src/test/resour...
Balthasar asked 26/5, 2016 at 21:50
8
I want get current feature file name at runtime using Java. I have scenario info in hook but unable to get feature file
@Before
public void before(final Scenario scenario) {
this.scenario = scen...
Mortify asked 30/12, 2016 at 10:38
4
I am new to Intellij IDEA. I have a POM based cucumber-selenium project, where I've created cucumber runner classes for each feature file. While working with Eclipse I was able to execute these run...
Anasarca asked 10/11, 2017 at 13:43
6
I am trying to setup Cucumber in my project. I am following the same configuration from my previous projects but I still have issues with running the tests. Now I am starting to suspect that the is...
Wakayama asked 16/7, 2020 at 14:5
4
Solved
I'm working with cucumber js and I want to fill out some fields in an application, so i'm using a for-in to get the data from the rowHash but i'm getting the error message "The body of a for-in sho...
Sewn asked 11/1, 2018 at 20:14
4
I want to manually set up a Cucumber DataTable using Java (instead of Gherkin).
In Gherkin, my table would look like this:
| h1 | h2 |
| v1 | v2 |
My Java so far looks like this:
List<Strin...
Primrosa asked 11/2, 2014 at 14:24
3
Solved
I've been working with Cucumber for about a year and have been continually refactoring the features and step definitions along the way. I have tons of steps defined across many files and I can't he...
Ivan asked 23/1, 2012 at 1:32
4
Solved
I am using capybara for testing my rails application for integration testing.
In my application there are many Lightbox and Ajax and js calls.
@javascript
Scenario: I agree functionatilty
Give...
Quincentenary asked 17/11, 2011 at 6:8
4
./gradlew --parallel :app:assembleDebugTest
when i run above command in android studio terminal i got this error.
Error
Parallel execution is an incubating feature.
Observed package id 'build...
Maduro asked 10/3, 2016 at 12:11
4
When doing BDD, it seems that Cucumber is the default tool to specify behaviors, however the Cucumber website and articles look a bit out of date and not very active.
What are the alternatives ?
...
6
Solved
Good news everyone.
I don't know how to exclude several tags within my run configuration for Cucumber project.
For instance, i have three tests.
@debug
Scenario outline: foo 1
When step
Then ste...
Cooperate asked 18/11, 2011 at 7:8
5
How to disable this message:
┌───────────────────────────────────────────────────────────────────────────────────┐
│ Share your Cucumber Report with your team at https://reports.cucumber.io │
│ Act...
4
Solved
Capybara is not able to find a <p> tag by it's id in my cucumber test. I'm able to see the element when I save_and_open_page. But I can't locate it with has_css? or find:
pry(#<Object>...
8
Solved
I am trying to run Cucumber feature files in IntelliJ.
Cucumber Options is pointing to the right folder, but I get the "No tasks available" notification when trying to execute the JUnit runner cl...
Hesperian asked 12/9, 2019 at 14:21
2
Solved
I'm new to the UnitTesting and Cucumber, and today I tried to implement a simple example from a tutorial in Intelij and Eclipse and I got the same error when I try run the TestRunner.java.
My pom.x...
Minaret asked 11/4, 2021 at 22:26
© 2022 - 2024 — McMap. All rights reserved.