-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathwdio.android.sauce.real.conf.js
32 lines (30 loc) · 1.17 KB
/
wdio.android.sauce.real.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
const {config} = require('./wdio.shared.sauce.conf');
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
config.capabilities = [
{
deviceName: 'Samsung Galaxy S10',
platformName: 'Android',
orientation: 'PORTRAIT',
automationName: 'UiAutomator2',
// 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-android.apk',
appWaitActivity: 'com.swaglabsmobileapp.MainActivity',
// Keep the device connected between tests so we don't need to wait for the cleaning process
cacheId: 'jsy1v49pn10',
// You can also provide the Appium version
// we need to have at least 1.19.0 for the new Android Gesture functions
appiumVersion: '1.19.0',
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',
// Add a name to the test
name: 'Appium Gestures',
},
];
exports.config = config;