I cannot make my DalekJs tests work on Travis-CI using headless Chrome.
Here is my set-up:
- Web server is running on localhost:3000
- Dalek tests suppose to use headless Chrome (configured via xvfb)
- Chrome driver use port 6000 (via Dalekfile.json)
- Actual test starts from
test.open('http://0.0.0.0:3000')
Here is what I got in Travis:
/home/travis/build/.../node_modules/dalekjs/lib/dalek.js:346
this.driverEmitter.emit('killAll');
^
TypeError: Cannot read property 'emit' of undefined
at Object.Dalek._shutdown (/home/travis/build/.../node_modules/dalekjs/lib/dalek.js:346:23)
at process.emit (events.js:107:17)
at process._fatalException (node.js:236:26)
The command "dalek test/test.js -l 5" exited with 7.
Please advise.
I cannot make my DalekJs tests work on Travis-CI using headless Chrome.
Here is my set-up:
test.open('http://0.0.0.0:3000')Here is what I got in Travis:
Please advise.