-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathwdio.ios.sauce.sim.conf.js
33 lines (31 loc) · 1.31 KB
/
wdio.ios.sauce.sim.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
const {config} = require('./wdio.shared.sauce.conf');
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
//
// For configuring a simulator please check
// https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
config.capabilities = [
{
// The defaults you need to have in your config
deviceName: 'iPhone 11 Simulator',
platformName: 'iOS',
platformVersion: '13.4',
deviceOrientation: 'PORTRAIT',
// You can provide the Appium Version, please check the platform configurator for all possible versions
appiumVersion: '1.17.1',
// The path to the app that has been uploaded to the Sauce Storage,
// see https://wiki.saucelabs.com/display/DOCS/Application+Storage for more information
app: 'storage:filename=sample-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/
noReset: true,
newCommandTimeout: 240,
// Always default the language to a language you prefer so you know the app language is always as expected
language: 'en',
locale: 'en',
},
];
exports.config = config;