Closed DaveStein closed 8 years ago
Not sure if this is related to #41 but if I do the following, the gulp task hangs as if waiting on something async:
gulp.task('default', ['selenium'], function(done) { return gulp.src('wdio.conf.js').pipe(webdriver()); });
If I try doing the following, it errors with Error: task completion callback called too many times
Error: task completion callback called too many times
gulp.task('default', ['selenium'], function(done) { return gulp.src('wdio.conf.js').pipe(webdriver()) .on('end', function() { done(); }); });
btw doing process.exit() works within end but that seems wrong
process.exit()
end
Er realized that selenium was still running and needed to do selenium.process.kill();
selenium.process.kill();
Not sure if this is related to #41 but if I do the following, the gulp task hangs as if waiting on something async:
If I try doing the following, it errors with
Error: task completion callback called too many times