1,191 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
19
views
Spotless Gradle Plugin : how to customize gherkin formatter?
I can use gherkin utils in spotless but can't find any customization like indentation size, etc. :/
spotless {
gherkin {
target '**/*.feature'
gherkinUtils()
}
}
0
votes
0
answers
43
views
How to scope step definitions so that "Go to Definition" resolves correctly in VS Code?
I’m using playwright-bdd with TypeScript.
My project structure looks like this:
features/
bookATourStandalone.feature
tryUsFree.feature
tryUsFreeAppleFitnessFreeTrial.feature
step-definitions/...
1
vote
1
answer
59
views
Karate Framework variable resets to last def keyword step and ignores conditions after calling another feature file
In the following code example, we declare and initialize a variable then conditionally change it's value, after that we call on another scenario with no interest in passing this variable down to it or ...
1
vote
1
answer
126
views
Skip cucumber playwright test in the Hooks file using tag name
I have scenarios in my cucumber feature file with a tag labeled as @skipTest, and I want to skip all the tests in this file using the before hooks. The reason I want to do this is that in the local ...
1
vote
0
answers
94
views
How to put gherkin's background into scenarios?
I have multiple Gherkin scenarios, some normal and some outlined one.
Each of them do have a step which subscribes to a MQTT topic (I won't explain it further but it's kind of ugly to do it).
I would ...
1
vote
0
answers
79
views
Should Visual Studio "Code Cleanup" format gherkin files?
Hello fellow programmers!
I started to use Code Cleanup Visual Studio feature recently, but have noticed something inconsistent.
We are using Reqnroll (formerly known as Specflow) in our project ...
0
votes
0
answers
68
views
How do I change Gherkin indentation in IntelliJ reformatting?
I want my Gherkin steps to look like this:
What I want
but they look like this
How they look after ctrl + alt + l
I want to add additional spaces before And steps so they will be inline with tables ...
0
votes
0
answers
93
views
Selenium webdriver wont start on certain cucumber tag's
I'm working on a Selenium Java test automation project, and I encountered a strange problem that I can't seem to understand the cause of.
The project configuration is as follows:
Selenium 4.28.1
...
0
votes
0
answers
44
views
Cucumber Tags skip/only jest behavior
When I use Jest and I want to only execute one test, I can write it.only("does something", () => {}).
When I want to exclude a test, I can write it.skip("does something", () =&...
-1
votes
1
answer
491
views
Cucumber and gherkin feature test with error No matching tests found in any candidate test task
gradle failed to find my test. already switching between JUnit too and its still not fix it, and it still give same error as its not found. i tried everything to find a way to look for solution but no ...
1
vote
1
answer
65
views
Automate Branch Creation in GitHub Using Karate Framework
I am trying to automate branch creation in GitHub using the Karate framework. The requirement is as follows:
Check if a branch already exists in the repository.
If the branch exists, delete it and ...
1
vote
0
answers
317
views
Using ReqNRoll with Rider IDE and some test dont have run button
I am having issue with running Cucumber / Gherkin some tests. Some of the tests dont have the run button next to it and trying to figure out why ???
I have done:
ReInstall all plugings
Removed the tag ...
0
votes
1
answer
269
views
pytest-bdd . Step definitions for any of when/then/given/and
Is there a way to use Then steps for When definitions with pytest-bdd?
Example,
I have the step in my scenario
Then User downloads the file "test_file.txt"
But my definitions is
@when(...
0
votes
0
answers
559
views
Reqnroll extract step definitions
please tell me how i can extract all possible steps in Reqnroll, I looked at the documentation but did not find this, now in our tests steps are extracted using reflection, but there must be a normal ...
0
votes
1
answer
87
views
Gherkin Clean Code question regarding reuse of step definitions
So I want to test a input field of my application, for which I have the step `Given My list is "A,B,C". I am having a hard time deciding what to do with an empty list or a list that is too ...