Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still sending requests to actual server without mocking it #51

Closed
Ika-x opened this issue May 20, 2021 · 2 comments
Closed

Still sending requests to actual server without mocking it #51

Ika-x opened this issue May 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Ika-x
Copy link
Contributor

Ika-x commented May 20, 2021

Cypress version 7.3.0
Autorecorder version 3.0.0

refer PR for detailed problem description and possible solution

@Nanciee prepared fix for that - #50

@Nanciee
Copy link
Owner

Nanciee commented May 27, 2021

This has been merged and resolved!

@Nanciee Nanciee closed this as completed May 27, 2021
@Nanciee Nanciee added the bug Something isn't working label May 27, 2021
@gus4no
Copy link

gus4no commented Feb 9, 2022

Hi, I've been trying to get this working, with no luck. Mind helping a bit?

First I thought it was because I was running Cypress 9, so I downgraded to Cypress 7.3.0 and I still see my server being hit. Mock responses are stored properly, but server always called, if I shut down my server all tests break because server is not reachable.

What I'm trying to do is run some tests with stubbed responses, so we don't need to have a real server running when running them in other environments. Is this something this library can help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants