Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not successfully exit gulp task #61

Open
shamrt opened this issue Feb 16, 2017 · 1 comment
Open

Plugin does not successfully exit gulp task #61

shamrt opened this issue Feb 16, 2017 · 1 comment

Comments

@shamrt
Copy link

shamrt commented Feb 16, 2017

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

  • Mac OSX 10.12.3
  • WebdriverIO version: 4.6.2
  • Node.js version: 6.7.0

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!

@aleksanyan
Copy link

aleksanyan commented Feb 13, 2018

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);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants