-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.js
35 lines (35 loc) · 1.03 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
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
directConnect: true,
specs: ['specs/search.js', 'specs/fullview.js'],
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
displayStacktrace: true,
displaySpecDuration: true
},
onPrepare: function() {
browser.manage().window().maximize();
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
jasmine.getEnv().addReporter(new SpecReporter({
displayStacktrace: 'spec'
}));
},
multiCapabilities: [{
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2,
chromeOptions: {
args: [
'--disable-infobars',
'--disable-extensions',
'verbose'
],
prefs: {
'profile.password_manager_enabled': false,
'credentials_enable_service': false,
'password_manager_enabled': false
}
}
}]
};