question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: step definitions never get's reloaded

See original GitHub issue

When using npx cypress open to write tests, it would be great to have auto-updated step definitions. Now they are loaded only once on start only so I need to re-run cypress every time what is very slow.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
cicely-fcommented, Jun 27, 2018

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
2reactions
lgandeckicommented, Jan 23, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: step definitions never get's reloaded #1 - GitHub
The step definition files are still not reloaded, but the step files (.feature) files are and should update as soon as you save...
Read more >
Unable to Hot Reload on Visual Studio 2022 - Stack Overflow
I was blaming VS for un-functional Hot Reload, but in my case it was caused by trying to Debug ( F5 ) and...
Read more >
COD Vanguard, Warzone, Modern Warfare, & Black Ops Cold ...
Here we're continuously tracking COD Vanguard, Warzone/2.0, Modern Warfare 1/2, & Black Ops Cold War issues & bugs and their current status.
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 >
How to Enable Live-reload on Docker-based Applications with ...
Enable live-reload by using docker volumes;; Aggregate all services within docker-compose. Requirements. In the next steps, you'll clone an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found