-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.js
53 lines (53 loc) · 1.73 KB
/
config.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
module.exports = {
environment: process.env.ENVIRONMENT || "integration",
country: process.env.COUNTRY || "SG",
platform: process.env.PLATFORM || "ios",
deviceName: process.env.DEVICE_NAME,
deviceVersion: process.env.DEVICE_VERSION,
// saucelabConfig: {
// user: process.env.SAUCE_USERNAME,
// key: process.env.SAUCE_ACCESSKEY,
// services: ["sauce", ['applitools', {
// key: 'Q74566t4hUBqYCmWLDdgf7qsh19fy9RpM0uyVR0OAmk110',
// appName: 'consumeriOS'
// }]],
// enableEyesLogs:true,
// maxInstances: 2,
// },
localConfig: {
runner: "local",
services: [
["appium", {
waitStartTime: 6000,
waitforTimeout: 2 * 60000,
command: "appium",
logLevel: "error",
logPath: "./appium.log",
args: {
address: "127.0.0.1",
port: 4232,
sessionOverride: true,
debugLogSpacing: true,
nativeInstrumentsLib: true,
allowInsecure: "adb_shell",
}
}],
// ["native-app-compare", {
// // Mandatory
// baselineFolder: './screenshots/image-baseline',
// screenshotPath: './screenshots/image-compare',
// autoSaveBaseline: true
// // Optional
// // See Options for more options
// //..
// }],
['applitools', {
key: 'Q74566t4hUBqYCmWLDdgf7qsh19fy9RpM0uyVR0OAmk110',
appName: 'ConsumeriOS',
}]
],
maxInstances: 1,
host: "127.0.0.1",
port: 4232,
},
};