GithubHelp home page GithubHelp logo

Comments (8)

cicely-f avatar cicely-f commented on July 20, 2024 4

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:

  1. write a feature file with several Given, When, Then steps
  2. write corresponding step definition, implementing only the Given
  3. see error message about missing step implementation when running Cypress
  4. implement the When step
  5. watch Cypress re-run the apparently previous version of the step definition, since it returns the same error message as in step 3
  6. close and reopen Cypress
  7. see that the error message changes to missing implementation of the Then step

from cypress-cucumber-preprocessor.

lgandecki avatar lgandecki commented on July 20, 2024 2

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.

eaustin avatar eaustin commented on July 20, 2024

I believe have the same problem.

from cypress-cucumber-preprocessor.

NoNameProvided avatar NoNameProvided commented on July 20, 2024

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.

NoNameProvided avatar NoNameProvided commented on July 20, 2024

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.

fcurella avatar fcurella commented on July 20, 2024

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.

lgandecki avatar lgandecki commented on July 20, 2024

@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.

fcurella avatar fcurella commented on July 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.