-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconf.js
63 lines (53 loc) · 1.58 KB
/
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
exports.config = {
// setting to launch tests directly without selenium server
directConnect: true,
// address of running selenium server
// seleniumAddress: 'http://localhost:4444/wd/hub',
// setting time outs
getPageTimeOut: 200000,
allScriptsTimeout: 500000,
// setting framework
framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
// setting protractor to ignore uncaught exceptions to take care by protractor-cucumber-framework
ignoreUncaughtExceptions: true,
// configuration parameters
params: {
testEnv: 'test'
},
// browser to launch tests
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['--disable-extensions',]
}
},
// Specify Test Files
//
// Define which tests should execute
specs: [
'features/login.feature',
'features/signup.feature'
],
//Define which tests should be excluded from execution.
exclude: [
// 'features/search.feature'
],
// Set log level and enables colors for log output
logLevel: 'verbose',
coloredLogs: true,
// arguments to cucumber.js
cucumberOpts: {
require: [
'features/support/env.js',
'features/support/hooks.js',
'features/step_definitions/searchSteps.js',
'features/step_definitions/loginSteps.js',
'features/step_definitions/signUpSteps.js'
],
tags: false,
format: 'pretty',
profile: false,
'no-source': true
}
};