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
I've had the same issue running it on Ubuntu 18.04 inside WSL on Windows 10. Basically something like this happens:
$ ./cy-run.sh
Running Cypress e2e tests headlessly without copying files
Could not find a Cypress configuration file, exiting.
We looked but did not find a cypress.json file in this folder: /e2e
The reason is that Docker running in WSL sometimes behaves weirdly when it comes mounting volumes, so the e2e folder was just empty.
To fix it I had to tweak with my Docker settings - remove and re-add shared folders and (despite running this command in Ubuntu) use the windows path to mount the volume when running docker. So instead of docker run -it -v $PWD:/e2e -w /e2e cypress/included:6.2.1 $@
Something like this worked: docker run -it -v "C:/workspace/demo-docker-cypress-included/e2e -w /e2e cypress/included:6.2.1 $@
Current behavior:
I try running the
cy-run.sh
from this repo, which results in the error (this is with a fresh clone):Desired behavior:
The tests should run just fine.
Test code to reproduce
Just clone the repo and run
./cy-run.sh
. I tried switching to different versions of the cypress-included image (also 4.0.1), always the same error.Versions
Different cypress versions (see above).
Docker version: 19.03.3, build a872fc2f86
The text was updated successfully, but these errors were encountered: