Check the gulp file,
Do you have a command to exit the process when tests are completed?
eg.
gulp.task('e2e', function() {
gulp.src(['foo/bar'])
.pipe(protractor({
configFile: 'protractor.conf.js',
args: ['--baseUrl', baseUrl],
keepAlive: true
}))
.on('end', function() {
console.log('E2E Testing complete');
process.exit();
})
.on('error', function(error) {
console.log('E2E Tests failed');
process.exit(1);
});
});
key line
process.exit()
source
share