node.js - Detect mouse and keyboard events on TravisCI -
i've been working on native node.js module called robotjs allows user automate mouse , keyboard. i've been trying find way automate testing keyboard , mouse events. example, need able confirm robotjs sending correct keycodes, "a" , "!". , need able detect mouse clicks.
i got working locally using terminal, here code detect mouse clicks:
https://github.com/octalmage/robotjs/blob/keyboard-tests/test/detectmouse.js
but doesn't work on travisci. imagine because don't open actual terminal window, though start xvfb , can detect mouse movement.
i considered writing new application using electron open window detect events, i'd rather not if current tests work.
thoughts? here's current .travis.yml:
https://github.com/octalmage/robotjs/blob/master/.travis.yml
and here's projects github:
Comments
Post a Comment