@revoloo/cypress6
Version:
Cypress.io end to end testing tool
111 lines (68 loc) • 7.87 kB
JavaScript
exports['e2e issue 5475 history pushState hangs / fails when remote debugging port cannot be connected to'] = `
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 1.2.3 │
│ Browser: FooBrowser 88 │
│ Specs: 2 found (issue_5475_spec_1.js, issue_5475_spec_2.js) │
│ Searched: cypress/integration/issue_5475* │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: issue_5475_spec_1.js (1 of 2)
issue #5475
✓ hangs on next spec after modifying history.pushState
1 passing
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 1 │
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: X seconds │
│ Spec Ran: issue_5475_spec_1.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /XXX/XXX/XXX/cypress/videos/issue_5475_spec_1.js.mp4 (X second)
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: issue_5475_spec_2.js (2 of 2)
issue #5475
1) hangs on next spec after modifying history.pushState
0 passing
1 failing
1) issue #5475
hangs on next spec after modifying history.pushState:
Error: foo
[stack trace lines]
(Results)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Tests: 1 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 2 │
│ Video: true │
│ Duration: X seconds │
│ Spec Ran: issue_5475_spec_2.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Screenshots)
- /XXX/XXX/XXX/cypress/screenshots/issue_5475_spec_2.js/hangs.png (1000x660)
- /XXX/XXX/XXX/cypress/screenshots/issue_5475_spec_2.js/issue #5475 -- hangs on ne (1280x720)
xt spec after modifying history.pushState (failed).png
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /XXX/XXX/XXX/cypress/videos/issue_5475_spec_2.js.mp4 (X second)
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ issue_5475_spec_1.js XX:XX 1 1 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ issue_5475_spec_2.js XX:XX 1 - 1 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 1 of 2 failed (50%) XX:XX 2 1 1 - -
`