-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test hangs on Jenkins CI/ locally #2482
Comments
Error likely causing issues is:
Duplicate of #2377 |
@jennifer-shehane I don't think that it is originally related to the video output. I re-ran it with video:false configuration setting and again it got hung up (there is only one spec file existing)
|
@jennifer-shehane I believe this should be the Highest Priority to be fixed as a Hotfix as soon as possible really. I recently convinced my team and department to use Cypress for all our e2e testings and all our Jenkin builds started to crash when we added cypress execution to our Jenkin build process. This is almost embarrassing for a framework that is built for ensuring better build! |
@jennifer-shehane we solved this now with a global overwrite of the after(function() {
cy.window().then(win => win.onbeforeunload = undefined );
}); It seems to be the case that cypress is not able to properly close the electron browser session if the |
@shinobi64 Thank you for detailing a workaround. We will have to look into the case of @neg0 We're unable to prioritize issues without reproducible examples or some lead on where the problem originates. Can you confirm the workaround fixes your issue? |
Had the same issue and the work-around fixed it for me. |
duplicate of #2118 |
Current behavior:
Test run stucks on Jenkins CI (using Electron)/ locally (using electron). Using chrome as browser option the test finishes as expected:
Using Electron it hangs:
This is only happening with this specific test case. Inside we're using a generation of a blob object to simulate a file upload process - not sure if electron has an issue with this.
Desired behavior:
Run on electron should finish - same as with chrome.
Steps to reproduce:
Versions
Cypress: 3.1.0
Mac OS X: 10.13.6
The text was updated successfully, but these errors were encountered: