I am trying to write test for electron app based from spectron readme example (https://github.com/electron/spectron#with-chai-as-promised ), but I can not make it work.
I am doing really simple test here: https://github.com/hovancik/strechly/blob/feature/tests/tests/index.js
But all my results are with error: https://travis-ci.org/hovancik/strechly/jobs/145827763
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
No idea what I am doing wrong. Any ideas welcome.