{"size": 927, "ext": "js", "max_stars_repo_path": "build/tasks/test.js", "max_stars_repo_name": "tyaga001/protractor-perf-test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "build/tasks/test.js", "max_issues_repo_name": "tyaga001/protractor-perf-test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build/tasks/test.js", "max_forks_repo_name": "tyaga001/protractor-perf-test", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.96875, "max_line_length": 93, "alphanum_fraction": 0.6634304207}
var gulp = require('gulp');
var gulpProtractor = require('gulp-angular-protractor');
var params = process.argv;
var args = process.argv.slice(3);
var paths = require('../paths.js');
var ProtractorPerf = require('protractor-perf');

// Execute e2e Tests
gulp.task('e2e-test', function(callback) {
  gulp.src(paths.tests)
    .pipe((gulpProtractor({
      configFile: 'protractor.conf.js',
      args: args
    })).on('error', function(e) {
      console.log(e);
    }).on('end', callback));
});

// Execute e2e-performance Tests
gulp.task('e2e-test-perf', function(callback) {
  gulp.src(paths.tests)
    .pipe((gulpProtractor({
      configFile: 'perf-conf.js',
      args: args
    })).on('error', function(e) {
      console.log(e);
    }).on('end', callback));
});


gulp.task('webdriver-update', gulpProtractor.webdriver_update);
gulp.task('webdriver-standalone', ['webdriver-update'], gulpProtractor.webdriver_standalone);