-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.js
53 lines (50 loc) · 1.48 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
/**
* config file
*/
exports.config = {
seleniumAddress: 'http://localhost:8080/wd/hub',
rootElement: 'body',
allScriptsTimeout: 60000,
framework: 'jasmine',
jasmineNodeOpts: {
// If true, display spec names.
isVerbose: true,
// If true, print colors to the terminal.
showColors: true,
// If true, include stack traces in failures.
includeStackTrace: true,
// Default time to wait in ms before a test fails.
defaultTimeoutInterval: 600000
},
multiCapabilities: [{
'specs': ['testSuites/SingaporeAirlinesTestCases.js'],
'browserName': 'chrome',
'loggingPrefs': {
'driver': 'WARNING',
'server': 'WARNING',
'browser': 'INFO',
'performance': 'ALL',
},
shardTestFiles: true,
maxInstances: 1,
chromeOptions: {
'args': ['--disable-web-security', '--no-sandbox', '--disable-infobars', "--enable-gpu-benchmarking", "--enable-thread-composting"]
}
}],
//directConnect: true,
params: {
host: "https://www.google.com.sg/"
},
plugins: [{
package: 'protractor-screenshoter-plugin',
screenshotPath: './REPORTS',
screenshotOnExpect: 'failure+success',
screenshotOnSpec: 'none',
withLogs: true,
writeReportFreq: 'asap',
imageToAscii: 'none',
clearFoldersBeforeTest: true
}],
onPrepare: function() {
}
};