I'm trying to test the application after it's been packaged with electron-builder.
Unpacking dmg on OS X results in .app package which cannot be run by Spectron (as it is not a file).
I've tried to copy this to /Applications directory and run it like this:
new SpectronApplication({
path: '/usr/bin/open',
args: ['-a MyApp']
});
but still no success - Travis CI build fails with timeout message:
I'm trying to test the application after it's been packaged with electron-builder.
Unpacking
dmg
on OS X results in.app
package which cannot be run by Spectron (as it is not a file).I've tried to copy this to
/Applications
directory and run it like this:but still no success - Travis CI build fails with timeout message:
Any idea how do I test the packaged application(
dmg
) with Spectron?P.S. I do know how to test it before packaging, but I need the tests run after the packaging.