-
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
is there is a way to install cypress without installing electron? #4043
Comments
Hey, what is your goal in installing cypress without electron? Just want to understand the motivation clearer? Size optimization? Want to install your own Electron version? |
Gonna add a comment on this as for us it would be to install our own version of electron. We are packing our app with electron 4.0.0 so would like to test against it |
@jennifer-shehane , I try reduce size, and I try fix an issue when you work for corporations, it is doable for corporations adopt few docker images in their private docker repositories, but it is close to impossible to allow fetch stuff from github/npm - and it is a big pain don't get me wrong, I am big advocate for cypress anywhere where I go for work, but I just need a bit more help with these bits, as for example, I know unix environment good enough to setup proxies, but many people struggle and just hate tools which they can't install the idea is, to somehow reduce docker image size, and reduce downloads, @dmce I am looking forward to it. eventually, I am doing my repository, as I talk on London IT events, I want promote this tool, as I found it very good :) but people will face issues like i mentioned above as many of them work in corporate environment, which is most of time is behind 1001 firewalls and proxies |
There's an issue open to separate the installation of Electron from Cypress here: #3899 Some comments on how and why we couple Cypress with Electron today: #2761 (comment) Also an issue on Cypress - to - Electron versioning: #3228 Please feel free to close this issue if you feel any of the others covers what you'd like. |
@jennifer-shehane thanks! |
Hello
thanks for awesome tool!
I got a question if there is a chance to install cypress without electron?
it would be very useful for docker
i heard that cypress will support alpine in 4.0 so it could be an improvement 'out-of-the-box'
I got POC:
https://github.com/eugene-matvejev/battleship-game-gui-react-js/blob/master/cypress.Dockerfile
you can try it out im my repository by cloning it, and using
make cypress
I am sure
cypress/browsers
is well optimised, but npm i, if it got cypress pre-installed, got another 400mb into image, or i do something wrong? - think it is because it pulls some binaries which aren't needed?The text was updated successfully, but these errors were encountered: