You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is accessible through the browser, but it start-server-and-test doesn't seem to notice and Cypress doesn't launch. After a couple of minutes an error we get an error:
Expected behavior
The tests should run normally.
Rhino diagnostics
Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112
R version 4.3.2 (2023-10-31)
rhino: 1.5.0
node: v18.18.0
Comments
The issue was reported by @Johan-rosa. After some digging we discovered that:
The issue seems to be somehow caused by RStudio. Running system2("npm", c("run", "test-e2e")) in RStudio R console hangs like above; running the same command in R started from the terminal works fine.
In our case the PATH settings and node --version differed in R console and terminal, but it didn't seem to affect the results (we used explicit path to the same executable and it still hanged in RStudio).
Workaround
If you encounter this issue, please let us know! We still don't know the root cause and any help in reproducing the issue would be valuable. Meanwhile, you can run E2E tests by running the following command in the terminal (assuming you are in the project root):
(cd .rhino && npm run test-e2e)
The text was updated successfully, but these errors were encountered:
Steps to reproduce
rhino::test_e2e()
in R console.Bug description
The process hangs after launching the app:
The app is accessible through the browser, but it
start-server-and-test
doesn't seem to notice and Cypress doesn't launch. After a couple of minutes an error we get an error:Expected behavior
The tests should run normally.
Rhino diagnostics
Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112
R version 4.3.2 (2023-10-31)
rhino: 1.5.0
node: v18.18.0
Comments
The issue was reported by @Johan-rosa. After some digging we discovered that:
system2("npm", c("run", "test-e2e"))
in RStudio R console hangs like above; running the same command in R started from the terminal works fine.PATH
settings andnode --version
differed inR console
and terminal, but it didn't seem to affect the results (we used explicit path to the same executable and it still hanged in RStudio).Workaround
If you encounter this issue, please let us know! We still don't know the root cause and any help in reproducing the issue would be valuable. Meanwhile, you can run E2E tests by running the following command in the terminal (assuming you are in the project root):
(cd .rhino && npm run test-e2e)
The text was updated successfully, but these errors were encountered: