-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
xhr request is getting cached #1202
Comments
@jennifer-shehane how I can help you to speed up investigation ? |
We intend to rework a lot of how we clear things like browser history with this proposal: #686 You can likely hook into Cypress events to handle clearing what you need as a workaround for now. https://on.cypress.io/catalog-of-events#Window-Before-Load |
@Br3d89 for us to investigate this issue we must have a reproducible repo. As it stands from looking at your code there's no reason for this not to work. Cypress has likely hundreds of tests around the XHR stubbing behavior so we'd need a way to see it failing. |
Closing as stale. Please comment if you are still having this issue and we will consider reopening. |
macOS
Beta Version 1.4.1
Chrome 63.0.3239.132
Hello, I have similar to #65 issue behaviour, when running same test few times (
cy.wait
fails).Here is my test_spec.js:
Here is my cypress.json:
I even don't see any xhr requests in Cypress commands window :
After clearing browser history test runs fine:
Also if I run Cypress on localhost environment (baseUrl: http://localhost:8080) which redirects all requests from http://localhost:8080 to http://mytestSite.com, there is no such problem.
The text was updated successfully, but these errors were encountered: