-
Notifications
You must be signed in to change notification settings - Fork 1
/
wdio.conf.js
78 lines (64 loc) · 1.64 KB
/
wdio.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
exports.config = {
runner: 'local',
specs: ['./test/specs/**/*.js'],
exclude: [
],
maxInstances: 10,
user: SAUCE_USERNAME,
key: SAUCE_ACCESSKEY,
region: 'eu',
capabilities: [
{
platformName: 'iOS',
browserName: 'safari',
'appium:deviceName': 'iPhone 15 Simulator',
'appium:platformVersion': 'current_major',
'appium:automationName': 'XCUITest',
'appium:platformVersion': '17.0',
'sauce:options': {
// appiumVersion is mandatory to use Appium 2 on Sauce Labs
appiumVersion: '2.1.3',
tunnelIdentifier: undefined,
build: "debug-build | " + Date().toString(),
// armRequired: true,
}
},
{
platformName: 'iOS',
browserName: 'safari',
'appium:deviceName': 'iPhone 15 Simulator',
'appium:platformVersion': 'current_major',
'appium:automationName': 'XCUITest',
'appium:platformVersion': '17.5',
'sauce:options': {
// appiumVersion is mandatory to use Appium 2 on Sauce Labs
appiumVersion: '2.1.3',
tunnelIdentifier: undefined,
build: "debug-build | " + Date().toString(),
armRequired: true,
},
},
],
logLevel: 'warn',
bail: 0,
waitforTimeout: 10000,
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
services: [
[
'sauce',
{
// use the existing tunnel if TUNNEL_NAME is specified, otherwise start a new one (local dev)
sauceConnect: true,
sauceConnectOpts: {
logfile: './sc.log',
},
},
],
],
reporters: ['spec'],
mochaOpts: {
ui: 'bdd',
timeout: 60000,
},
}