-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.shared.conf.js
58 lines (57 loc) · 1.91 KB
/
wdio.shared.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
54
55
56
57
58
exports.config = {
// ====================
// Runner and framework
// Configuration
// ====================
runner: 'local',
framework: 'jasmine',
jasmineNodeOpts: {
// Updated the timeout to 30 seconds due to possible longer appium calls
// When using XPATH
defaultTimeoutInterval: 90000,
helpers: [require.resolve('@babel/register')],
},
sync: true,
logLevel: 'debug',
deprecationWarnings: true,
bail: 0,
baseUrl: 'http://the-internet.herokuapp.com',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
reporters: ['spec'],
// ====================
// Appium Configuration
// ====================
services: [
[
'appium',
{
// For options see
// https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-appium-service
args: {
// For arguments see
// https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-appium-service
},
command: 'appium',
},
],
['applitools', {
key: 'bvQiWBPIv11AoizGKdG2jUmD1dKRjYDparfrLe1jakI110', // can be passed here or via environment variable `APPLITOOLS_KEY`
serverUrl: 'https://eyesapi.applitools.com', // optional, can be passed here or via environment variable `APPLITOOLS_SERVER_URL`
appName: 'Demo Mobile',
// options
// proxy: { // optional
// url: 'http://corporateproxy.com:8080'
// username: 'username', // optional
// password: 'secret', // optional
// isHttpOnly: true // optional
// },
// viewport: { // optional
// width: 1920,
// height: 1080
// }
}]
],
port: 4723,
};