-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.default.js
More file actions
46 lines (33 loc) · 1.01 KB
/
config.default.js
File metadata and controls
46 lines (33 loc) · 1.01 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
/**
* General Setup for Testing
*/
export default {
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX BROWSER SETTINGS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
browser: {
// URL to open at start
baseURL: 'http://some.url/',
// default user
userNormal: {
userName: 'USERNAME',
password: 'PASSWORD',
},
// admin user
userAdmin: {
userName: 'USERNAME',
password: 'PASSWORD',
},
// hide the browser window? showing the window requires a full window environment
headless: true,
// browser dimensions
width: 1280,
height: 1024,
// log the browser console to the test console?
logConsole: false,
// prefix for browser console output in the test console
consolePrefix: '>',
},
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX GENERAL SETTINGS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
// default timeout for all actions (in ms); "how long can a page.something() call last at most?"
// Note: test timeout is set separately in .mocharc.js
timeout: 100 * 1000,
};