-
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
Cypress GUI run against remote dev (WSL2, Codespaces, Docker, etc) #18820
Comments
+1 for adding the ability for remote development... |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
+1 |
+1 |
+1. I would love this feature |
+1 Any updates on this feature? |
+1 for these developers, its not possible to run cypress locally. |
+1 |
+1 I would like this too. We develop on remote servers. |
+1 would be nice to have |
+1 on this |
+1 would love this to be an option. |
FYI Playwright implements this with the |
What would you like?
The Cypress GUI running against a remote development environment. Not using Xwindow forwarding or messing with complicated settings. Run the Cypress GUI pointing to a remote Cypress dev process.
Example:
On remote development environment (WSL2, Codespaces, Docker, etc).
This command would set up a cypress dev server for the GUI to connect to. This server would be responsible for all the requests the Cypress GUI usually asks for (test files, reloading when files are updated, bundling, etc).
The Cypress GUI can be started from the local environment either via
cypress open
or a different command. This method requires Cypress to be installed globally on the local machine. From here, the user has the ability to point the GUI to a remote development environment.Why is this needed?
It is very difficult to set up x-window forwarding and it can be very slow streaming pixels from a remote machine. It is much more efficient to stream text and commands. Remote development is getting more popular with the release of more development environment solutions like Codespaces. In my own workflow, I use WSL2. In remote development, Cypress is the most painful tool to use. There are tutorials for getting X servers working, but even when the do work, the remote rendering looks terrible with HiDPI screens.
I've gotten by with cloning the repository I'm working with and starting Cypress against the local clone. The problem with this is it is easy to forget to copy/paste local Cypress spec file changes to the remote environment. The Cypress GUI seems to be tied to the local file system. VSCode has solved this problem making remote development seamless. I can install a
Remote SSH
,Remote WSL
, orRemote Containers
or connect to a Codespace, running a local version of VSCode and connect to a remote VSCode (server).This would make remote development environments work much better with Cypress development.
Other
No response
The text was updated successfully, but these errors were encountered: