Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run DalekJs tests on Travis #162

Open
emdin opened this issue Aug 11, 2015 · 0 comments
Open

Run DalekJs tests on Travis #162

emdin opened this issue Aug 11, 2015 · 0 comments

Comments

@emdin
Copy link

emdin commented Aug 11, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant