-
Notifications
You must be signed in to change notification settings - Fork 43
Cant start runner #2
Comments
Hi @tranthanhbao2207 Please also note that |
Can you please explain how this can be done "so make sure your custom folders also map into /home/node." |
@bhajojo i could not make it .May be there was problem at "volume" of nightwatch container. |
If your Nightwatch.js test files are in the nightwatch:
volumes:
- ./test:/home/node This way your test files will be available to the Nightwatch.js docker container. |
My Test are stored in ./test folder only , but still i am getting the same exception There was an error while starting the test runner: Error: Cannot read source folder: /home/node/examples/tests |
Another thing you can check is the permissions of the folder you are host-mounting. |
After upgrading to latest version(1.17), i got |
That message actually means that your app is not starting, or not available on port 80 (HTTP). |
I have got the solution
I am able to successfully run the tests by performing above steps Following error is not coming now Error: Cannot read source folder: /home/node/examples/tests |
@bhajojo unfortunately , i do not use windows and my docker is not locally, it is a remotely one. |
I got this err because i exec command "docker-compose" on my local pc. Volume takes the "specs" dir of remote server(which means null) , instead of from my local pc. |
I got this error while trying to run --rm nightwatch
I could not find dir examples/tests, did i miss any step ?
ps: i am using docker-engine 1.7 and compose 1.3
The text was updated successfully, but these errors were encountered: