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:
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 --disable-dev-shm-usage
which would fix issues when running Cypress inside Docker. I think with upgrade to new Electron this option becomes available.
i got here by clicking on 3 separate issues "closing in favor of " => "closing in favor of " => "closing in favor of "
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: Cookie length should be less than or equal to 4096 characters.
from a service I don't control. is there either A) a work around for that or B) a work around for that?
thanks in advance
-Ben
@benmonro Please read this issue in response to your question https://github.com/cypress-io/cypress/issues/3228
@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 mapbox.js
.
The thing is, that it used to work until mapbox.js
have upgraded their library.
are you guys planning on fixing this issue any time soon?
tnx
Hi! I have the same issue as described above and probably updating electron will solve this problem. Can we get at least a rough estimate when can we expect this? Is it days, weeks, months? Just want to know if I should look for another solution or just wait patiently for some time.
Thanks
@dyymmi I switched to test Cafe because of this issue and others and have been very happy. I've found it to be very consistent across local Dev and CI plus it inherently supports every browser you can think of.
after upgrading to the latest cypress version (v3.3.1), Electron v61 does not support
mapbox.js
.
The thing is, that it used to work untilmapbox.js
have upgraded their library.
are you guys planning on fixing this issue any time soon?
tnx
@eliranskyline I've encountered an issue where mapbox is not loading on first load. After the first page load, I did a cy.reload();
to reload the whole page again, after that mapbox is displaying properly. Hope it works for you.
Some es6 syntax breaks in latest cypress. Is there an ETA on when an alpha or something will be available?
There is work being done every single day to get this upgrade out. There are a lot of breaking changes we are sorting out, upgrading version by version. See https://github.com/cypress-io/cypress/pull/4354
Thanks, @jennifer-shehane. Perhaps a prudent question to ask would be... how did it get so out-of-date to begin with? I think it would be much easier on you guys and your users in the future if you keep up with Electron updates incrementally, rather than doing a huge update across several major revisions every year.
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.
Some es6 syntax breaks in latest cypress. Is there an ETA on when an alpha or something will be available?
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?
There is a key part of my application that does not work on electron right now, only on chrome. I am assuming that is because of their version :(
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: https://github.com/cypress-io/cypress/pull/4720#issuecomment-514316695
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 notifications@github.com
wrote:
This will go out as soon as all of our tests pass in this PR: #4720
(comment)
https://github.com/cypress-io/cypress/pull/4720#issuecomment-514316695There 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
https://github.com/cypress-io/cypress/issues/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.
We'll update this issue and reference the changelog when it's released.
Hey guys, first of all, thanks so much for all the hard work on this.
How is the plan to release this?
Is there any way that I can point to a version that has that already and start using?
Released in 3.5.0
.
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.)
@janakdr We're using nearly the latest version of Electron in our latest version. Please update. PR for newer update here https://github.com/cypress-io/cypress/pull/6085
Most helpful comment
The code for this is done in cypress-io/cypress#4720, but has yet to be released.
We'll update this issue and reference the changelog when it's released.