`and` not supported in step_definitions
See original GitHub issueWhilst we have given
, when
and then
globally…
…we do not have a global and
. (Looks like step definition support was missed off in #31 / #35).
I would expect to be able to write and('foo happens')
as I am allowed to write And foo happens
in the feature file.
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cucumber .feature file is not getting linked to stepDefinition ...
I had same problem that CTRL+Click was not working in feature files when I installed Natural plugin in Eclipse IDE.
Read more >Step Definitions - Cucumber Documentation
Step definitions aren't linked to a particular feature file or scenario. The file, class or package name of a step definition does not...
Read more >Native JS module support in step definitions and support code
I have "type": "module" in package.json and the rest of my project is using modules so changing that is not an option. If...
Read more >[cucumber-jvm] Why are we not allowed to extend classes that ...
CucumberException: You're not allowed to extend classes that define Step Definitions or hooks. What's the rationale behind stopping us from doing that?
Read more >Step Definitions - SpecFlow's documentation
This means that it is not necessary to define a new step definition for each ... with multiple attributes in order to support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe this was done in the #153 , not sure why it didn’t close automatically
@sessa that’s exactly how we could add that… If you could also add a simple .feature test where you use And step while creating a step definitions that define that’s as And(``, () => {}) that would be great!