-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Upgrade to the latest version of Electron #3568
Comments
Do you think you could explore also flags I mention #3633 as you are upgrading to new Electron/Chrome? Since Chrome 65 there is an option |
i got here by clicking on 3 separate issues "closing in favor of <link to 2.0 update>" => "closing in favor of <link to 3.0 update>" => "closing in favor of <link to this 4.x update>" in the meantime, cypress is using electron browser on version 59. is there any way I can force it to use a newer build of electron? As it stands right now, I get an error that only seems to happen in older chromium builds: thanks in advance |
@jennifer-shehane thank you for that but then I can't run headless in CI right? |
@benmonro You can use the Cypress Docker images in CI for a particular version of Chrome https://github.com/cypress-io/cypress-docker-images |
I am one of the Electron maintainers. Do you need any help with the update? Electron 1.8 is not supported anymore. You should move to a supported version if possible. Electron 3 (Chromium 66) could be an option as well as it still supports OS X 10.9. |
You should also target the latest Electron 4 release, which is 4.1.3 at this time, to make sure you have all the latest security fixes. |
Thank you @miniak for the offer, @chrisbreiding is there a way we can use Milan's expertise to help out? |
@miniak Any help would be greatly appreciated. I'm incrementally upgrading Electron and working to fix issues along the way. There are many failing tests related to upgrading to Electron 3, a lot because of EPIPE and ECONNRESET errors. Do you have any ideas what could be the root cause? Thanks for the tip about the latest version. We'll make sure we're on the latest before we get this merged. |
Those failing tests could be caused by upgraded Node.js inside of Electron |
Any update on this? I would very much like to use the latest version. |
after upgrading to the latest cypress version (v3.3.1), Electron v61 does not support |
Now that electron has a predictable release cycle (https://electronjs.org/blog/12-week-cadence), I hope that makes it easier for all the tools built on it to keep up. |
see the same Object.keys({}).values() worked with cypress 3.2.0 but breaks at least with cypress 3.4.0 (switch from electron 59 to electron 61) |
I hope the irony of this problem isn't lost on anyone. |
Is there any eta on this update? Any ideas how could I by pass this while this is not updated? Or anyway that I could investigate this further? I see no logs on console, the page simply does not open |
@leonardoj-cit: As a workaround, you can run Cypress against a separate Chrome installation. See https://docs.cypress.io/guides/guides/launching-browsers.html#Browsers |
This will go out as soon as all of our tests pass in this PR: #4720 (comment) There is a checklist of tasks that need to be completed. I would love an ETA just like everyone else would. We could throw out a date, but giving an estimate for how long it will take us to solve problems we don't even know the cause of is just going to be wrong. |
Appreciate the transparency, even though not the ideal answer
…On Friday, August 9, 2019, Jennifer Shehane ***@***.***> wrote:
This will go out as soon as all of our tests pass in this PR: #4720
(comment)
<#4720 (comment)>
There is a checklist of tasks that need to be completed. I would love an
ETA just like everyone else would. We could throw out a date, but giving an
estimate for how long it will take us to solve problems we don't even know
the cause of is just going to be wrong.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3568?email_source=notifications&email_token=AABZETDDILU7A2U3USQJWE3QDULBDA5CNFSM4GZJARYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD352UXQ#issuecomment-519809630>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABZETAGW2MXR4ERXN472ELQDULBDANCNFSM4GZJARYA>
.
|
@trygveaa that is true, but I cannot run that headless =( @jennifer-shehane thanks for the update, I understand and I will keep an eye on it. I was just curious, no pressure on my side =D |
@leonardoj-cit: Yeah, you can. See https://developers.google.com/web/updates/2017/04/headless-chrome and https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai Edit: Hm, or maybe it doesn't work with Cypress, I see that #832 is open. |
The code for this is done in cypress-io/cypress#4720, but has yet to be released. |
Hey guys, first of all, thanks so much for all the hard work on this. |
Released in |
Hi, is there a tracking bug for upgrading to the next version of Electron? It looks like 5.0.1 was released 6 months ago. What is the expected cadence going forward for Electron releases? I understand it's a whole lot of grunge work, but just curious if there is a plan. Thanks! (I'm particularly interested in getting Chromium up to at least v74.) |
Currently, Cypress uses Electron 2.0.18. The latest stable release is 6.0.4. This will bring along features and breaking changes from 2.x, 3.x, and 4.x. The biggest changes that will affect users are:
As part of this upgrade, we should also enable the right-click context menu in the Electron browser. It was disabled due to an issue in the previous version that caused Cypress to crash, but is likely fixed now.
Related:
The text was updated successfully, but these errors were encountered: