forked from chpladmin/chpl-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
43 lines (36 loc) · 1.37 KB
/
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
36
37
38
39
40
41
42
43
'use strict';
var paths = require('./.yo-rc.json')['generator-gulp-angular'].props.paths;
// An example configuration file.
exports.config = {
allScriptsTimeout: 99999,
// 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',
// cucumber framework
framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
ignoreUncaughtExceptions: true,
// Options to be passed to Cucumber.
cucumberOpts: {
// Require files before executing the features.
require: [
'features/components/**/*.js',
'features/support/**/*.js'
],
// Don't execute the features or scenarios with tags matching @ignore.
// This may be an array of strings to specify multiple tags to include/exclude.
tags: ['~@ignore'],
// How to format features (progress, summary, pretty, json)
format: ['pretty', 'json:test_reports/cucumber_report.json'],
},
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
}
};