Instructions and commands for running cypress on Windows+WSL2#37
Conversation
|
I was able to test this from scratch in a different computer and it worked like a charm. |
|
Hey, @penyaskito. I appreciate all your contributions! I've been deallocated from this project for the time-being... Do you think you could recruit someone from #experience-builder on Drupal Slack to test and verify that it still works on macOS with your changes? If you throw out a request for anyone who can to test it on Linux that would be great, but I'm also find with just adding a note indicating that it might work but hasn't been tested on it. |
TravisCarden
left a comment
There was a problem hiding this comment.
A few little changes. Also, this needs a rebase as of #41.
| open -a XQuartz | ||
| # Give it a moment to start up. | ||
| sleep 2 | ||
| # Running on WSL2 |
There was a problem hiding this comment.
I'd like someone with experience with WSL2 to review this.
|
I tested this with Linux (Ubuntu 24.04.3 LTS) and it works for me. Apart from updating Additionally, I've had to install chrome into the container, because electron was crashing at every try. After that, the cypress window opens on my host and runs the tests. Thanks! If this gets merged I could open a PR with specific configuration for linux. |
Fix docs structure and warnings. Co-authored-by: Travis Carden <travis.carden@gmail.com>
279e244 to
e93ef63
Compare
|
Rebased |
Outdated, we verified this works even for Linux now.
|
I'm going to merge and release this as-is. It's been reported to work on WSL2 by me, I've tested it doesn't break on Mac, and we got positive feedback even for Linux. @omarlopesino I'd appreciate a new PR for the config that was required to run cypress on linux. I can report cypress on electron also breaks for me often, specially when trying to play the "welcome" video. If I'm quick enough to skip the video it works. |
Instructions and commands for running on Windows+WSL2.
I've been successful using this.
On my different tries I did some other steps that might or not might affected this, so would be great if we could get someone to test this.In any case it should not break anything for MacOS, the only working system at the moment, so should be safe to accept.Also I would expect this to work on Linux too. But don't have a system to verify :-/