-
Notifications
You must be signed in to change notification settings - Fork 41
/
protractor.conf.js
49 lines (42 loc) · 1.16 KB
/
protractor.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
exports.config = {
directConnect: true,
capabilities: {
browserName: 'chrome',
chromeOptions: {
//Important for benchpress to get timeline data from the browser
'args': ['--js-flags=--expose-gc'],
'perfLoggingPrefs': {
'traceCategories': 'blink.console,disabled-by-default-devtools.timeline'
}
},
loggingPrefs: {
performance: 'ALL'
}
},
specs: ['tests/perf/**/*.spec.js'],
framework: 'jasmine2',
// onCleanUp: function() {
// console.log("KILLED");
// emberProcess.kill();
// },
// onPrepare: function() {
// // open a new browser for every benchmark
// var originalBrowser = browser;
// var _tmpBrowser;
// beforeEach(function() {
// global.browser = originalBrowser.forkNewDriverInstance();
// global.element = global.browser.element;
// global.$ = global.browser.$;
// global.$$ = global.browser.$$;
// });
// afterEach(function() {
// global.browser.quit();
// global.browser = originalBrowser;
// });
// },
restartBrowserBetweenTests: true,
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
},
};