You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is problematic because many pages make XHR requests onLoad. Because cy.visit resolves when the page's load event fires, by this time it is often too late. XHR requests may have gone out.
Therefore cy.server should be able to be invoked prior to a page loading (even though one does not exist).
Any routes attached to the server should also be carried over.
The text was updated successfully, but these errors were encountered:
Currently
cy.server
can only be started after youcy.visit
a remote page.This is problematic because many pages make XHR requests
onLoad
. Becausecy.visit
resolves when the page'sload
event fires, by this time it is often too late. XHR requests may have gone out.Therefore
cy.server
should be able to be invoked prior to a page loading (even though one does not exist).Any
routes
attached to the server should also be carried over.The text was updated successfully, but these errors were encountered: