-
Notifications
You must be signed in to change notification settings - Fork 15
/
nightwatch.conf.js
57 lines (51 loc) · 1.48 KB
/
nightwatch.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
50
51
52
53
/* This file is part of AToMPM - A Tool for Multi-Paradigm Modelling
* Copyright 2011 by the AToMPM team
* See COPYING, COPYING.lesser, and README.md for full details
*/
module.exports = {
"src_folders": ["tests"],
// skip_testcases_on_fail: true,
screenshots: {
enabled: true,
path: "./screenshots",
on_failure: true,
on_error: true
},
webdriver: {
start_process: true,
port: 4444,
server_path: require('chromedriver').path,
cli_args: [
// very verbose logs
// '-vv'
]
},
test_settings: {
default: {
launch_url: 'http://localhost:8124/atompm',
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
'args':[
'disable-gpu','remote-debugging-port=9222'
]
}
}
},
run_headless: {
launch_url: 'http://localhost:8124/atompm',
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
'args':[
'headless',
// 'window-size=2880,1800',
'window-size=1920,1080',
// "no-sandbox",
'disable-gpu','remote-debugging-port=9222'
]
}
}
}
},
};