- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25
 
Closed
Labels
Description
Hello,
I am currently trying to integrate this into a test suite. The aim is to have a front end that allows the user to launch a request is to the server, the tests are then launched and the front-end is updated.
This front end allows to launch the test a couple of times if wanted.
Here is my code :
var testSuite = function(){
  gulp
      .src(['./test/testcases/*.js'])
      .pipe(gulpProtractorAngular({
         'configFile': './test/config/conf.js',
          'debug': false,
          'autoStartStopServer': true,
          'isVerbose': true,
      }))
}app.post('/results', function (req, res) {
  if (req.body.test === 'start') {
    testSuite();
  }
});This works perfectly the first time launched, but if it is launched a second time, I get this error message:
Usage: protractor [configFile] [options]
configFile defaults to protractor.conf.js
The [options] object will override values from the config file.
Error: more than one config file specified