webdriverio-boneyard / wdio-sauce-service

WebdriverIO v4 service for better Sauce Labs integration
http://webdriver.io
MIT License
18 stars 21 forks source link

Sauce/Appium example #19

Closed stsvilik closed 7 years ago

stsvilik commented 7 years ago

I know there is wdio-appium, but I could not find any example of using SauceLabs Appium capabilities. Is there a way to provide an example of mobile testing through SauceLabs and Appium together?

christian-bromann commented 7 years ago

@stsvilik have you seen https://github.com/webdriverio/webdriverio/tree/master/examples/appium? It is not using sauce labs but you only need to add user and key to the config options and you get it.

stsvilik commented 7 years ago

@christian-bromann example you provided is for stand-alone test where I'm using wdio runner through gulp-wdio. I guess thats what makes it confusing. Ideally I'm looking for a recipe where wdio is used with sauce labs and appium, and where say two parallel tests run for Android and iOS.

christian-bromann commented 7 years ago

I don't have that example on hand but you just copy the desired capabilities into your wdio config and use all commands in a sync way.

stsvilik commented 7 years ago

As for "services" param, would I still use "sauce" or "appium"?

christian-bromann commented 7 years ago

only the sauce service is necessary