Repository navigation
Expand file tree
/
Copy pathconf.js
More file actions
71 lines (61 loc) · 1.53 KB
/
Copy pathconf.js
File metadata and controls
71 lines (61 loc) · 1.53 KB
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
'use strict';
const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
const Jasmine2HtmlReporter = require('protractor-jasmine2-html-reporter');
exports.config = {
directConnect: true,
specs: ['specs/*.js'],
framework: 'jasmine2',
onPrepare: function(){
browser.manage().timeouts().implicitlyWait(5000);
browser.ignoreSynchronization = true;
browser.manage().window().setSize(1250, 1000);
jasmine.getEnv().addReporter(new Jasmine2HtmlReporter({
savePath: 'Report_HTML/'
}));
jasmine.getEnv().addReporter(new SpecReporter({
displayFailuresSummary: true,
displayFailedSpec: true,
displayPendingSpec: true,
displaySuiteNumber: true,
displaySpecDuration: true,
colors: {
success: 'green',
failure: 'red',
pending: 'yellow'
},
prefixes: {
success: '✓ ',
failure: '✗ ',
pending: '* '
}
}));
},
jasmineNodeOpts: {
onComplete: null,
isVerbose: true,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 999999,
print: function () { }
},
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: [
'--disable-infobars',
'--privileged',
'--load-extension=' + './metamask'
],
prefs: {
// disable chrome's annoying password manager
'profile.password_manager_enabled': false,
'credentials_enable_service': false,
'password_manager_enabled': false
}
}
},
params: {
metamaskExtension: 'chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/popup.html',
ethlendApp: 'https://app.ethlend.io/'
}
};