-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
35 lines (29 loc) · 1007 Bytes
/
protractor.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
'use strict';
var paths = require('./.yo-rc.json')['generator-gulp-angular'].props.paths;
// An example configuration file.
exports.config = {
// The address of a running selenium server.
framework: 'jasmine',
chromeOnly:true,
directConnect: true,
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'
},
files :[
'node_modules/jasmine-core/lib/jasmine-core/jasmine.js',
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js', // for angular.mock.module and inject.
],
baseUrl: 'http://localhost:3000',
// Spec patterns are relative to the current working directory when
// protractor is called.
specs: [paths.e2e + '/*.js'],
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 100000
}
};