forked from bexis/BexisTest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.default.js
More file actions
83 lines (60 loc) · 1.89 KB
/
config.default.js
File metadata and controls
83 lines (60 loc) · 1.89 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/**
* General Setup for Testing
*/
export default {
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX BROWSER SETTINGS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
browser: {
// URL to open at start
baseURL: 'http://some.url/',
// ID ti ckec successfully logged in
// loginControlId: '#notifications', // explos
loginControlId: '#search_Components', // standard B2 instance
// 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: '>',
},
browser2: {
// 2nd URL to open at start
baseURL: 'http://some.url/',
// default user
userNormal: {
userName: 'USERNAME',
password: 'PASSWORD',
},
// admin user
userAdmin: {
userName2: 'USERNAME',
password2: 'PASSWORD',
},
// all other settings taken from browser
},
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX EMM MODULE SETTINGS XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
// For testing the EMM module, a tester must add two existing email addresses.
// The email addresses will be used to create an Event and Registration of that event for testing purposes.
emmEmails: {
emails: {
primaryEmail: 'primary@mail.com',
secondaryEmail: 'secondary@mail.com',
}
},
/* 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,
};