-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.js
37 lines (32 loc) · 831 Bytes
/
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
let SpecReporter = require('jasmine-spec-reporter').SpecReporter;
//require('protractor/built/logger').Logger.logLevel = 1;
exports.config={
framework:'jasmine',
//rootElement: 'body',
seleniumAddress:"http://localhost:4444/wd/hub",
jasmineNodeOpts:{
showColors: true,
silent: true,
defaultTimeoutInterval: 360000,
print: function () {
}
},
specs:["model-locator.js"],
capabilities: {
browserName: 'chrome',
'chromeOptions': {
args: ['--test-type']
}
},
onPrepare:function(){
//browser.manage().window().setSize(1280,1024);
jasmine.getEnv().addReporter(new SpecReporter({
spec:{
displayStacktrace:true
},
summary:{
displayDuration:false
}
}));
}
};