-
-
Notifications
You must be signed in to change notification settings - Fork 262
/
wdio.android.bs.app.conf.ts
50 lines (44 loc) · 1.56 KB
/
wdio.android.bs.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
45
46
47
48
49
50
import { config as baseConfig } from '../wdio.shared.conf.js';
export const config: WebdriverIO.Config = {
...baseConfig,
// ============
// Specs
// ============
specs: [
'../tests/specs/**/app*.spec.js',
],
exclude: [
// Exclude this one because the test can only be executed on emulators/simulators
'../tests/specs/**/app.biometric.login.spec.js',
],
// =============================
// Browserstack specific config
// =============================
// User configuration
user: process.env.BROWSERSTACK_USER || 'BROWSERSTACK_USER',
key: process.env.BROWSERSTACK_ACCESS_KEY || 'BROWSERSTACK_ACCESS_KEY',
// Use browserstack service
services: ['browserstack'],
// ============
// Capabilities
// ============
// For all capabilities please check
// http://appium.io/docs/en/writing-running-appium/caps/#general-capabilities
capabilities: [
{
// Set URL of the application under test
'appium:app': process.env.BROWSERSTACK_APP_ID || 'BROWSERSTACK_APP_ID',
'bstack:options': {
// Set your BrowserStack config
debug: true,
// Specify device and os_version for testing
device: 'Google Pixel 3',
os_version: '9.0',
// Set other BrowserStack capabilities
projectName: 'wdio-test-project',
buildName: 'android',
sessionName: 'wdio-test'
}
},
] as WebdriverIO.Capabilities[]
};