@@ -237,139 +237,3 @@ exports['e2e network error handling Cypress does not delay a 304 Not Modified be
237237
238238
239239`
240-
241- exports [ 'e2e network error handling Cypress tests run as expected 1' ] = `
242-
243- ====================================================================================================
244-
245- (Run Starting)
246-
247- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
248- │ Cypress: 1.2.3 │
249- │ Browser: FooBrowser 88 │
250- │ Specs: 1 found (network_error_handling.cy.js) │
251- │ Searched: cypress/e2e/network_error_handling.cy.js │
252- └────────────────────────────────────────────────────────────────────────────────────────────────┘
253-
254-
255- ────────────────────────────────────────────────────────────────────────────────────────────────────
256-
257- Running: network_error_handling.cy.js (1 of 1)
258-
259-
260- network error handling
261- cy.visit() retries
262- 1) fails after retrying 5x
263- ✓ works on the third try after two failed requests
264- ✓ works on the third try after two 500 errors
265- ✓ re-sends a <form> body on failures
266- cy.request() retries
267- 2) fails after retrying 5x
268- ✓ works on the third try after two failed requests
269- ✓ works on the third try after two 500 errors
270- subresource retries
271- ✓ on <img> tags
272- ✓ on <script> tags
273-
274-
275- 7 passing
276- 2 failing
277-
278- 1) network error handling
279- cy.visit() retries
280- fails after retrying 5x:
281- CypressError: \`cy.visit()\` failed trying to load:
282-
283- http://localhost:13370/immediate-reset?visit
284-
285- We attempted to make an http request to this URL but the request failed without a response.
286-
287- We received this error at the network level:
288-
289- > Error: socket hang up
290-
291- Common situations why this would fail:
292- - you don't have internet access
293- - you forgot to run / boot your web server
294- - your web server isn't accessible
295- - you have weird network configuration settings on your computer
296- [stack trace lines]
297-
298- From Node.js Internals:
299- Error: socket hang up
300- [stack trace lines]
301-
302- 2) network error handling
303- cy.request() retries
304- fails after retrying 5x:
305- CypressError: \`cy.request()\` failed trying to load:
306-
307- http://localhost:13370/immediate-reset?request
308-
309- We attempted to make an http request to this URL but the request failed without a response.
310-
311- We received this error at the network level:
312-
313- > Error: socket hang up
314-
315- -----------------------------------------------------------
316-
317- The request we sent was:
318-
319- Method: GET
320- URL: http://localhost:13370/immediate-reset?request
321-
322- -----------------------------------------------------------
323-
324- Common situations why this would fail:
325- - you don't have internet access
326- - you forgot to run / boot your web server
327- - your web server isn't accessible
328- - you have weird network configuration settings on your computer
329-
330- https://on.cypress.io/request
331- [stack trace lines]
332-
333- From Node.js Internals:
334- RequestError: Error: socket hang up
335- [stack trace lines]
336-
337-
338-
339-
340- (Results)
341-
342- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
343- │ Tests: 9 │
344- │ Passing: 7 │
345- │ Failing: 2 │
346- │ Pending: 0 │
347- │ Skipped: 0 │
348- │ Screenshots: 2 │
349- │ Video: false │
350- │ Duration: X seconds │
351- │ Spec Ran: network_error_handling.cy.js │
352- └────────────────────────────────────────────────────────────────────────────────────────────────┘
353-
354-
355- (Screenshots)
356-
357- - /XXX/XXX/XXX/cypress/screenshots/network_error_handling.cy.js/network error hand (1280x720)
358- ling -- cy.visit() retries -- fails after retrying 5x (failed).png
359- - /XXX/XXX/XXX/cypress/screenshots/network_error_handling.cy.js/network error hand (1280x720)
360- ling -- cy.request() retries -- fails after retrying 5x (failed).png
361-
362-
363- ====================================================================================================
364-
365- (Run Finished)
366-
367-
368- Spec Tests Passing Failing Pending Skipped
369- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
370- │ ✖ network_error_handling.cy.js XX:XX 9 7 2 - - │
371- └────────────────────────────────────────────────────────────────────────────────────────────────┘
372- ✖ 1 of 1 failed (100%) XX:XX 9 7 2 - -
373-
374-
375- `
0 commit comments