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
Currently, cypress can only stub out XHRs but it would be great if it also did the same for static resources like js files.
In our case, we would like to stub a static js file URL that returns test content to check if our server-side code behaves well or fails in a reliable fashion if the js is an older/non-standard version.
The text was updated successfully, but these errors were encountered:
We've laid the groundwork to now make this possible in 0.17.0. We need to now add the API's to control this behavior. It's on our radar.
brian-mann
changed the title
Update proxy to also stub non-XHR resources
Enable stubbing all kinds of HTTP requests (not inclusive to XHR)
Sep 21, 2016
brian-mann
changed the title
Enable stubbing all kinds of HTTP requests (not inclusive to XHR)
Enable stubbing all kinds of HTTP requests (not exclusive to XHR)
Sep 21, 2016
brian-mann
changed the title
Enable stubbing all kinds of HTTP requests (not exclusive to XHR)
Enable stubbing all kinds of HTTP requests (not just XHR)
Sep 21, 2016
Currently, cypress can only stub out XHRs but it would be great if it also did the same for static resources like js files.
In our case, we would like to stub a static js file URL that returns test content to check if our server-side code behaves well or fails in a reliable fashion if the js is an older/non-standard version.
The text was updated successfully, but these errors were encountered: