susper.com/protractor.conf.js
Nikhil Rayaprolu a9d7fb4223 initialising the angular project (#50)
* initialised angular2 project

* Deleting old files

* deploying to travis

* fixing the travis errors

* fixing the travis errors

* fixing the travis errors

* fixing the travis errors

* upgrading to newer version of angular-cli

* resolving travis errors

* resolving test errors in travis
2017-01-18 00:14:42 +01:00

32 lines
765 B
JavaScript
Executable file

// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js
/*global jasmine */
var SpecReporter = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./e2e/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
useAllAngular2AppRoots: true,
beforeLaunch: function() {
require('ts-node').register({
project: 'e2e'
});
},
onPrepare: function() {
jasmine.getEnv().addReporter(new SpecReporter());
}
};