Open shamrt opened 7 years ago
Had a same problem recently. Workaround for me was editing wdio.conf.js
with the following.
/**
* Gets executed after all workers got shut down and the process is about to exit.
* @param {Object} exitCode 0 - success, 1 - fail
* @param {Object} config wdio configuration object
* @param {Array.<Object>} capabilities list of capabilities details
*/
onComplete: function(exitCode, config, capabilities) {
process.exit(exitCode);
}
The problem
Running
gulp e2e
task does not successfully end task once finished running my test suite.I'm assuming that it's me, and not you, but I've stripped out everything that I can and it's still not completing the task. I have to manually kill Gulp in the command line.
Environment
Details
I've created a temporary stripped-down repository that can run a basic tests:
https://github.com/shamrt/wdio-issue
Thanks so much for your help!