forked from webdriverio/appium-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.ios.simulators.app.conf.ts
117 lines (110 loc) · 4.63 KB
/
wdio.ios.simulators.app.conf.ts
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import { config as baseConfig } from './wdio.shared.sauce.conf.js';
const buildName = `WebdriverIO Native Demo app, iOS Simulators: ${new Date().getTime()}`;
export const config: WebdriverIO.Config = {
...baseConfig,
// ============
// Specs
// ============
specs: [
'../tests/specs/**/app*.spec.ts',
],
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
//
// For configuring an Emulator please check
// https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
capabilities: [
// iOS iPhone 14.3 TouchID
{
// The defaults you need to have in your config
platformName: 'iOS',
'appium:deviceName': 'iPhone 8 Simulator',
'appium:platformVersion': '14.3',
'appium:orientation': 'PORTRAIT',
// The path to the app
'appium:app': 'storage:filename=wdio-demo-app-ios.zip',
// Read the reset strategies very well, they differ per platform, see
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
'appium:noReset': true,
'appium:newCommandTimeout': 240,
// Always default the language to a language you prefer so you know the app language is always as expected
'appium:language': 'en',
'appium:locale': 'en',
// Sauce Labs specific options
'sauce:options': {
// Group builds by build name
build: buildName,
},
},
// iOS iPhone 13.4 TouchID
{
// The defaults you need to have in your config
platformName: 'iOS',
'appium:deviceName': 'iPhone 8 Simulator',
'appium:platformVersion': '13.4',
'appium:orientation': 'PORTRAIT',
// The path to the app
'appium:app': 'storage:filename=wdio-demo-app-ios.zip',
// Read the reset strategies very well, they differ per platform, see
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
'appium:noReset': true,
'appium:newCommandTimeout': 240,
// Always default the language to a language you prefer so you know the app language is always as expected
'appium:language': 'en',
'appium:locale': 'en',
// Sauce Labs specific options
'sauce:options': {
// Group builds by build name
build: buildName,
},
},
// iOS iPhone 13.4 FaceID
{
// The defaults you need to have in your config
platformName: 'iOS',
'appium:deviceName': 'iPhone 11 Simulator',
'appium:platformVersion': '13.4',
'appium:orientation': 'PORTRAIT',
// The path to the app
'appium:app': 'storage:filename=wdio-demo-app-ios.zip',
// Read the reset strategies very well, they differ per platform, see
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
'appium:noReset': true,
'appium:newCommandTimeout': 240,
// Always default the language to a language you prefer so you know the app language is always as expected
'appium:language': 'en',
'appium:locale': 'en',
// Sauce Labs specific options
'sauce:options': {
// Group builds by build name
build: buildName,
},
},
// iOS iPhone 14.3 FaceID
{
// The defaults you need to have in your config
platformName: 'iOS',
'appium:deviceName': 'iPhone 11 Simulator',
'appium:platformVersion': '14.3',
'appium:orientation': 'PORTRAIT',
// The path to the app
'appium:app': 'storage:filename=wdio-demo-app-ios.zip',
// Read the reset strategies very well, they differ per platform, see
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
'appium:noReset': true,
'appium:newCommandTimeout': 240,
// Always default the language to a language you prefer so you know the app language is always as expected
'appium:language': 'en',
'appium:locale': 'en',
// Sauce Labs specific options
'sauce:options': {
// Group builds by build name
build: buildName,
},
},
],
maxInstances: 25
};