diff --git a/protractor.conf.js b/protractor.conf.js index f2db101..6b09380 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -1,27 +1,32 @@ -'use strict'; +/* globals require, exports*/ +(function(){ + 'use strict'; -var paths = require('./.yo-rc.json')['generator-gulp-angular'].props.paths; + var paths = require('./.yo-rc.json')['generator-gulp-angular'].props.paths; -// An example configuration file. -exports.config = { - // The address of a running selenium server. - //seleniumAddress: 'http://localhost:4444/wd/hub', - //seleniumServerJar: deprecated, this should be set on node_modules/protractor/config.json + // An example configuration file. + exports.config = { + // The address of a running selenium server. + //seleniumAddress: 'http://localhost:4444/wd/hub', + //seleniumServerJar: deprecated, this should be set on node_modules/protractor/config.json - // Capabilities to be passed to the webdriver instance. - capabilities: { - 'browserName': 'chrome' - }, - - baseUrl: 'http://localhost:3000', + // Capabilities to be passed to the webdriver instance. + capabilities: { + 'browserName': 'firefox' + }, - // Spec patterns are relative to the current working directly when - // protractor is called. - specs: [paths.e2e + '/**/*.js'], + // chromeOnly: true, - // Options to be passed to Jasmine-node. - jasmineNodeOpts: { - showColors: true, - defaultTimeoutInterval: 30000 - } -}; + baseUrl: 'http://localhost:3000', + + // Spec patterns are relative to the current working directly when + // protractor is called. + specs: [paths.e2e + '/**/*.js'], + + // Options to be passed to Jasmine-node. + jasmineNodeOpts: { + showColors: true, + defaultTimeoutInterval: 30000 + } + }; +})(); -- libgit2 0.21.2