Open rafaelleru opened 7 years ago
call your doctor .... "Hey doctor, I am feeling sick, what's wrong with me?"
Like what do you expect the answers for your problem will be ? You did not even provide any error message or anything. This might help you https://stackoverflow.com/help/mcve
I think he's alluding to the fact that all the examples show how to specify a binary to test basically:
this.app = new Application({
path: '/Applications/MyApp.app/Contents/MacOS/MyApp'
})
which means you have to build a distributable for the app before you can test it with spectron. I think we should add an example to this note in the readme:
Note: If you want to invoke electron directly with your app's main script then you should specify path as electron via electron-prebuilt and specify your app's main script path as the first argument in the args array.
Oops I meant to comment on #168 actually
Hy I configure a simple test like is described in the readme, and it pass in local but in travis doesn't work, and I setup the travis configuration correctly so I don't know what I'm doing wrong.