bitovi / testee-client

Testee client adapters for QUnit, Jasmine and Mocha
https://www.npmjs.com/package/testee-client
MIT License
1 stars 1 forks source link

Doesn't close PhantomJS #40

Open stevenvachon opened 7 years ago

stevenvachon commented 7 years ago

My tests hang for a very long time. I think that calling window.close() will solve the issue. How are local non-headless browsers exited?

I've added Electron support to launchpad and am running into this issue there as well. Inside its dev tools' console, I see that this error is being thrown:

Uncaught (in promise) Error: Timeout of 5000ms exceeded calling api/logs::create

…some time after running this line: https://github.com/bitovi/testee-client/blob/master/src/runner.js#L107

Though, even with the this.call('logs', 'create' line removed, the test runner still hangs.

stevenvachon commented 7 years ago

@daffl ^^