-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathwdio.android.local.emu.conf.js
30 lines (28 loc) · 1.09 KB
/
wdio.android.local.emu.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
const {join} = require('path');
const {config} = require('./wdio.shared.local.appium.conf');
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
config.capabilities = [
{
// The defaults you need to have in your config
automationName: 'UiAutomator2',
deviceName: 'Pixel_3_10.0',
platformName: 'Android',
platformVersion: '10.0',
orientation: 'PORTRAIT',
// The path to the app
app: join(process.cwd(), './test-apps/Android.SauceLabs.Mobile.Sample.app.apk'),
appWaitActivity: 'com.swaglabsmobileapp.MainActivity',
// 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;