Comments (8)
I'm running Cypress 3.0.1 and the latest version of this plugin. The step definitions are still not reloaded, and I am forced to close and restart Cypress to get the updated steps to run.
To reproduce:
- write a feature file with several Given, When, Then steps
- write corresponding step definition, implementing only the Given
- see error message about missing step implementation when running Cypress
- implement the When step
- watch Cypress re-run the apparently previous version of the step definition, since it returns the same error message as in step 3
- close and reopen Cypress
- see that the error message changes to missing implementation of the Then step
from cypress-cucumber-preprocessor.
I removed the out of the topic discussion. You don't have to use this NoName, you are right. I never asked you. I only ask you to respect my work and don't steal it or bash it with no arguments (happy to see how you made things better, when you finally decide to enlighten us).
@fcurella thanks, I will review this during the next 24 hrs :-) I already looked briefly but I want to test and understand exactly what you've changed and how it works first.
from cypress-cucumber-preprocessor.
I believe have the same problem.
from cypress-cucumber-preprocessor.
I made the *.feature
files reload and I have a few other improvements as well, I will fire up a gist with it soon.
In the meantime you can watch NoNameProvided/cypress-cucumber-preprocessor I need it for work, so I will turn it into something usable in the close future. (now it's just a placeholder repo).
from cypress-cucumber-preprocessor.
Here is the gist: https://gist.github.com/NoNameProvided/14ba8dee2529de258804454d2c3c99c8
The step definition files are still not reloaded, but the step files (.feature) files are and should update as soon as you save them.
from cypress-cucumber-preprocessor.
Hi,
I've got this working with features and step definitions reload. Should I send a PR to NoNameProvided/cypress-cucumber-preprocessor or here?
from cypress-cucumber-preprocessor.
@fcurella I'd love to add your contribution here and give you the credit deserved, would you be so kind to fork this one, paste your changes over the files in this repo and create another PR? I've just tried to use your fork but since it has a different commit history, github won't allow me to compare/merge this properly :(
from cypress-cucumber-preprocessor.
@lgandecki sorry about the confusion, I had the impression that you and @NoNameProvided were working together. I'll close the original PR and submit it here.
from cypress-cucumber-preprocessor.
Related Issues (20)
- Invalid or unexpected token when using createEsbuildPlugin HOT 6
- diagnostics - Cypress.env is not a function when referring to env object as const HOT 7
- Error occured for cypress+cucumber HOT 2
- Error 'glob.escape is not a function' in Headless Mode with Cypress Cucumber Preprocessor 19.1.0 and Node 18.12.0 HOT 10
- negative filters should allow to opt-in/out for non-feature files HOT 2
- Dry run: static code analyses with fallback to evaluation
- Compatibility Issues and Deprecation Warnings with Outdated @cypress/browserify-preprocessor HOT 3
- Cannot see error logs details in Cypress UI debugger HOT 1
- Emit meta information like cucumber-js
- cypress-cucumber-preprocessor support cypress-vite HOT 4
- esbuild always get installed even we want to use webpack HOT 1
- Merge reports obtained through parallelization using Cypress Cloud
- Error: Unexpected state in specEnvelopesHandler: initial (this might be a bug, please report at ...) HOT 8
- Feature request: Add videos to Cypress' cucumber reports HOT 2
- Avoid writing implicit messages report
- Error occured while using cypress+BDD HOT 2
- An error was thrown in your plugins file while executing the handler for the before:spec event HOT 4
- Very constantly getting this error : An error was thrown in your plugins file while executing the handler for the after:run event. HOT 4
- Receiving this error too frequently while running tests - This socket has been ended by the other party HOT 3
- Hook failures can't be represented in any reports (messages / json / html), thus none is created HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-cucumber-preprocessor.