Open yurivyatkin opened 2 months ago
Today, I managed to get the system tests run in a Rails project in my WSL2 system. The solution was to follow the Linux way but rely on the ability of WSL2 in Windows to run native Linux GUI apps (such as google-chrome
). The matching versions of google-chrome
and chromedriver
did the trick.
According to the instructions in Step 1, we need to do the following:
rails new . -j esbuild --css=bootstrap
(this defaults to Minitest).--skip-system-test
?) (because I could not make them work in WSL2).20240601: Here is the revised plan:
rails new . -j esbuild --css=bootstrap --skip-system-test
(this defaults to Minitest).