-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathprotractor.conf.js
37 lines (30 loc) · 952 Bytes
/
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
exports.config = {
baseUrl: 'http://localhost:3000',
chromeDriver: process.env.CHROMEDRIVER_FILEPATH || require(`chromedriver/lib/chromedriver`).path,
SELENIUM_PROMISE_MANAGER: false,
directConnect: true,
// https://github.com/angular/protractor/blob/main/docs/timeouts.md
allScriptsTimeout: 110000,
specs: [ './test/protractor-locator.e2e.js', ],
plugins: [{
path: './plugins/protractor'
}],
onPrepare: function() {
global.browser.waitForAngularEnabled(false);
},
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: [
'--no-sandbox',
'--disable-infobars',
'--disable-dev-shm-usage',
'--disable-extensions',
'--log-level=3',
'--disable-gpu',
'--window-size=1920,1080',
'--headless'
]
}
}
};