Mercurial > hg > ugly-duckling
diff protractor.conf.js @ 0:340ce94899fd
chore: initial commit from angular-cli
_ _ _
__ _ _ __ __ _ _ _| | __ _ _ __ ___| (_)
/ _ | _ \ / _ | | | | |/ _ | __|____ / __| | |
| (_| | | | | (_| | |_| | | (_| | | |_____| (__| | |
\____|_| |_|\__ |\____|_|\____|_| \___|_|_|
|___/
author | angular-cli <angular-cli@angular.io> |
---|---|
date | Tue, 25 Oct 2016 11:40:57 +0100 |
parents | |
children | 53ea6406d601 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/protractor.conf.js Tue Oct 25 11:40:57 2016 +0100 @@ -0,0 +1,32 @@ +// 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()); + } +};