You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12:56:45] Finished 'e2e:run' after 16 s
[12:56:45] Finished 'e2e:dev' after 17 s
then on cmd + c click:
End selenium sessions properly ...
(press crtl+c again to hard kill the runner)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
The problem
When i setup webdriver.io with gulp watch and interrupt process with ctrl+c it's not closing.
Environment
WebdriverIO version: v4.5.2
Node.js version: v4.4.5 (v6 too)
Standalone mode or wdio testrunner: jasmine testrunner
if wdio testrunner, running synchronous or asynchronous tests: asynchronous
Additional wdio packages used (if applicable):
"wdio-dot-reporter": "0.0.6",
"wdio-jasmine-framework": "^0.2.19",
"wdio-selenium-standalone-service": "0.0.7",
"gulp-webdriver": "^2.0.3",
Link to Selenium/WebdriverIO logs
[12:56:45] Finished 'e2e:run' after 16 s
[12:56:45] Finished 'e2e:dev' after 17 s
then on cmd + c click:
End selenium sessions properly ...
(press crtl+c again to hard kill the runner)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
Killing process, bye! (on cmd + c click)
Code To Reproduce Issue [ Good To Have ]
gulp.task('e2e:run', function () {
return gulp.src(config.e2e.config).pipe(webdriver({
baseUrl: 'http://localhost:' + config.e2e.port,
specs: config.e2e.specs
})).on('error', handleErrors);
});
// production release of player
gulp.task('e2e:dev', function() {
gulp.watch(config.e2e.specs, ['e2e:run']);
});
Details
I would guess something is wrong with logic here
webdriverio/lib/launcher.js
Line 418 in 68974ac
Perhaps process.exit is not being called.
The text was updated successfully, but these errors were encountered: