-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Current behavior:
XHR GET request reaches server and browser reports response (http code 200) in developer console but Cypress continues waiting for a response (see spinner next to (XHR) step in test and timeout message for cy.wait command)
Desired behavior:
Cypress should recognize that a response to the request was received and continue with the test.
Steps to reproduce: (app code and test code)
You can use https://github.com/fmezas/cypress-xhr-issue to reproduce the issue. It contains a toy server, client and cypress test, and instructions on how to run
Versions
Cypress: 3.4.1
operating system: OS-X 10.14.6
browser: Chrome Version 76.0.3809.100 (Official Build) (64-bit)
bvanderneut, anucreative, nstrating and Saar45
