chowster
chowster

Reputation: 69

Aurelia/Gulp- Protractor e2e config file2

Currently I am using Aurelia Esnext skeleton to build off my application. For end to end testing is there a way to use protractor's config file specs/suites arguments instead of the gulp task running all specs in alphabetical format?

gulp.task('e2e', ['build-e2e'], function(cb) {
   return gulp.src(paths.e2eSpecsDist + '**/*.js')
      .pipe(protractor({
         configFile: 'protractor.conf.js',
         args: ['--baseUrl', 'http://127.0.0.1:9000', '--inspect']
      }))
      .on('end', function() {
         process.exit();
      })
      .on('error', function(e) {
         throw e;
      });
});

Upvotes: 0

Views: 76

Answers (0)

Related Questions