-
-
Notifications
You must be signed in to change notification settings - Fork 261
/
wdio.ios.simulators.app.conf.ts
44 lines (40 loc) · 1.46 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
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: [
{
// The defaults you need to have in your config
platformName: 'iOS',
'appium:deviceName': 'iPhone 14 Simulator',
'appium:platformVersion': '16.2',
'appium:automationName': 'XCUITest',
'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:newCommandTimeout': 240,
// Sauce Labs specific options
'sauce:options': {
// Group builds by build name
build: buildName,
},
},
],
maxInstances: 25
};