-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.ios.rdc.app.conf.js
54 lines (49 loc) · 1.6 KB
/
wdio.ios.rdc.app.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
const { config } = require('../wdio.shared.conf');
// ============
// Specs
// ============
config.specs = [
'./tests/specs/**/app*.spec.js'
];
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
config.capabilities = [
{
automationName: 'XCUITest',
deviceName: 'iPhone X*',
// The reference to the app
testobject_app_id: '3',
// The api key that has a reference to the app-project in the TO cloud
testobject_api_key: process.env.SAUCE_RDC_EU_ACCESS_KEY_IOS_WDIO,
// The name of the test for in the cloud
testobject_test_name: 'wdio-demo-app-test',
// Some default settings
// You can find more info in the TO Appium Basic Setup section
platformName: 'iOS',
idleTimeout: 180,
maxInstances: 6,
// testobject_cache_device: true,
noReset: true,
orientation: 'PORTRAIT',
newCommandTimeout: 180,
phoneOnly: true,
tabletOnly: false,
},
];
// =========================
// Sauce RDC specific config
// =========================
// The new version of WebdriverIO will:
// - automatically update the job status in the RDC cloud
// - automatically default to the US RDC cloud
config.services = [ 'sauce' ];
// If you need to connect to the US RDC cloud comment the below line of code
config.region = 'eu';
// and uncomment the below line of code
// config.region = 'us';
// This port was defined in the `wdio.shared.conf.js`
delete config.port;
exports.config = config;