forked from ionic-team/ionic-e2e-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wdio.ios.config.ts
39 lines (37 loc) · 1.49 KB
/
wdio.ios.config.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
import config from './wdio.shared.appium.config';
// ============
// Capabilities
// ============
//
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
//
config.capabilities = [
{
platformName: 'iOS',
maxInstances: 1,
// For W3C the appium capabilities need to have an extension prefix
// This is `appium:` for all Appium Capabilities which can be found here
// http://appium.io/docs/en/writing-running-appium/caps/
'appium:deviceName': 'iPhone 13 Pro Max',
'appium:platformVersion': '15.2',
'appium:orientation': 'PORTRAIT',
'appium:automationName': 'XCUITest',
// The path to the app
'appium:app': './platforms/ios/build/emulator/Ionic Conference App.app',
'appium:newCommandTimeout': 240,
// This will automatically start the iOS app in a webview context,
// if your app starts in a native context then please put this to false and handle your own
// context switching
'appium:autoWebview': true,
// Read the reset strategies very well, they differ per platform, see
// http://appium.io/docs/en/writing-running-appium/other/reset-strategies/
// When enabling the noReset the App will NOT be re-installed between sessions
// This means that every test needs to maintain it's own state
// `"appium:noReset":false` means that the app is removed and installed
// between each test
'appium:noReset': true,
},
];
config.maxInstances = 1;
exports.config = config;