-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathnightwatch.conf.js
More file actions
36 lines (31 loc) · 809 Bytes
/
Copy pathnightwatch.conf.js
File metadata and controls
36 lines (31 loc) · 809 Bytes
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
/* eslint max-len: 0 */
const SELENIUM_CONFIGURATION = {
start_process: true,
server_path: './node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-3.1.0.jar',
host: '127.0.0.1',
port: 4444,
};
const CHROME_CONFIGURATION = {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true,
chromeOptions: {
args: ['--no-sandbox'],
},
};
const DEFAULT_CONFIGURATION = {
launch_url: 'http://localhost:2000/',
selenium_port: 4444,
selenium_host: 'localhost',
silent: true,
desiredCapabilities: CHROME_CONFIGURATION,
};
const ENVIRONMENTS = {
default: DEFAULT_CONFIGURATION,
};
module.exports = {
src_folders: 'test/specs/e2e',
output_folder: 'test/specs/e2e/tests_output',
selenium: SELENIUM_CONFIGURATION,
test_settings: ENVIRONMENTS,
};