-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchimp.conf.js
129 lines (116 loc) · 3.62 KB
/
chimp.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
var gutil = require('gulp-util');
var portSelenium = Math.floor(Math.random() * 5000) + 1000;
var portWebDriverio = Math.floor(Math.random() * 9000) + 1000;
gutil.log('Selenium running in port: ' + gutil.colors.bold.white.bgBlue(portSelenium));
gutil.log('WebDriverio running in port: ' + gutil.colors.bold.white.bgBlue(portWebDriverio));
module.exports = {
// - - - - CHIMP - - - -
watch: true,
watchTags: '@watch,@focus',
domainSteps: null,
e2eSteps: null,
fullDomain: false,
domainOnly: false,
e2eTags: '@e2e',
watchWithPolling: false,
server: false,
serverPort: 8060,
serverHost: 'localhost',
sync: true,
offline: false,
showXolvioMessages: true,
// - - - - GULP CHIMP - - - -
singleRun: true,
// - - - - CUCUMBER - - - -
path: './source/e2e/features',
format: 'pretty',
tags: '~@ignore',
singleSnippetPerFile: true,
recommendedFilenameSeparator: '_',
chai: false,
screenshotsOnError: true,
screenshotsPath: './e2e_output/screenshots',
captureAllStepScreenshots: false,
saveScreenshotsToDisk: true,
saveScreenshotsToReport: true,
jsonOutput: './e2e_output/cucumber.json',
conditionOutput: true,
// - - - - CUCUMBER REPORT - - - -
htmlReport: true,
theme: 'bootstrap',
jsonFile: './e2e_output/cucumber.json',
output: './e2e_output/report/cucumber.html',
reportSuiteAsScenarios: true,
launchReport: true,
// - - - - SELENIUM - - - -
browser: 'phantomjs',
platform: 'ANY',
name: '',
user: '',
key: '',
port: portSelenium,
host: null,
// - - - - SAUCELABS - - - -
// user: "",
// key: "",
// port: 80,
// host: "ondemand.saucelabs.com",
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
desiredCapabilities: {},
logLevel: 'silent',
logOutput: './e2e_output/logs',
host: '127.0.0.1',
port: portWebDriverio,
path: '/wd/hub',
baseUrl: 'http://localhost',
coloredLogs: true,
screenshotPath: './e2e_output/screenshots',
waitforTimeout: 500,
waitforInterval: 250,
},
// - - - - SELENIUM-STANDALONE
seleniumStandaloneOptions: {
// check for more recent versions of selenium here:
// http://selenium-release.storage.googleapis.com/index.html
version: '2.53.1',
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
// check for more recent versions of chrome driver here:
// http://chromedriver.storage.googleapis.com/index.html
version: '2.22',
arch: process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com'
},
ie: {
// check for more recent versions of internet explorer driver here:
// http://selenium-release.storage.googleapis.com/index.html
version: '2.50.0',
arch: 'ia32',
baseURL: 'https://selenium-release.storage.googleapis.com'
}
}
},
// - - - - SESSION-MANAGER - - - -
noSessionReuse: false,
// - - - - MOCHA - - - -
mocha: false,
// path: './source/e2e',
mochaTags: '',
mochaGrep: null,
mochaTimeout: 60000,
mochaReporter: 'spec',
mochaSlow: 10000,
// - - - - PHANTOM - - - -
phantom_w: 1280,
phantom_h: 1024,
// - - - - DEBUGGING - - - -
log: 'info',
debug: false,
seleniumDebug: null,
debugCucumber: null,
debugBrkCucumber: null,
debugMocha: null,
debugBrkMocha: null
};