Closed hayesmaker closed 9 years ago
in my gruntfile:
nightwatch: { options: { config_path: '/test/e2e/nightwatch/nightwatch.json' } }
when i run grunt nightwatch
➜ ✗ grunt nightwatch Running "nightwatch" task Warning: Unable to read "/test/e2e/nightwatch/nightwatch.json" file (Error code: ENOENT). Use --force to continue.
If I browse to that folder and run nightwatch tests run fine.
nightwatch
Seems like you're using an absolute path, I think you should use ./test/e2e/nightwatch/nightwatch.json instead?
./test/e2e/nightwatch/nightwatch.json
that was it.. thanks
in my gruntfile:
when i run grunt nightwatch
If I browse to that folder and run
nightwatch
tests run fine.