WebDriverIO tests with Appium Service This should now ideally run on Windows, Mac and Linux
Change the wdio.conf.js
to include your desired capabilities.
capabilities: [
{
browserName: '',
appiumVersion: '1.8.1',
deviceName: 'Infinix X573',
deviceOrientation: 'portrait',
platformVersion: '8.0.0',
platformName: 'Android',
app: 'https://github.com/rahulmr/wdio-tests/blob/master/ApiDemos-debug.apk?raw=true',
waitforTimeout: 30000,
commandTimeout: 30000
}
],
- For Android Apps, you can add appPackage and appActivity
wdio.conf.js
appium arguments like command is specified due to bug inwdio-appium-service
appium-controller
works fine but it was easy to usewdio-appium-service
to start appiumappium-controller
is used inpackage.json
scripts to stop appium as appium is not automatically stopped after reply on windows. This may be dependent upon the commandtimeout parameters- Added docs folder for sample report generated using
wdio-mochawesome-reporter
,mochawesome@2.3.1
andmochawesome-report-generator@2.3.2
- To access report visit here
- APIDemos-debug.apk is accessed from internet that is github site so internet is required.
- In case, you are using the app option for local path, provide absolute path to the apk file. Like
'D:\\Automation\\wdio-tests\\APIDemos-debug.apk'
or'/tmp/APIDemos-debug.apk'