'use strict';

exports.config = {
  seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar',
  capabilities: {
    'browserName': 'phantomjs'
  },
  framework: 'jasmine2',
  onPrepare: function() {
    var SpecReporter = require('jasmine-spec-reporter');
    jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: true}));
  },
  jasmineNodeOpts: {
    print: function() {}
  }
};

'use strict';

exports.config = {
  seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar',
  capabilities: {
    'browserName': 'chrome'
  },
  framework: 'jasmine2',
  onPrepare: function() {
    var SpecReporter = require('jasmine-spec-reporter');
    jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: true}));
  },
  jasmineNodeOpts: {
    print: function() {}
  }
};

Switch back to chrome for tests, as phantomjs is not reliable