AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
311 stars 97 forks source link

WDA does not launch app when using appium-device-farm plugin #1018

Closed thinkd1fferent closed 6 months ago

thinkd1fferent commented 6 months ago

WDA does not launch app when using appium-device-farm plugin

When running Appium server with device-farm plugin, WDA is not launching the app and keeps waiting. If I run Appium server with no flags, WDA works just fine and launches the app and runs the script.

Link to Appium logs https://gist.github.com/thinkd1fferent/7351790db45ac670750fa8ed595e471a

Environment

  1. Appium v2.4.1 (REV c92adb3c479d70bb29f4399a808c972ef41510e7)
  2. Mobile platform/version under test: iOS
  3. Real device or emulator/simulator: Real device (iPhone 12 mini running iOS 17.2.1)
saikrishna321 commented 6 months ago

@thinkd1fferent Can you remove the platformVersion and udid from capabilities and try?

thinkd1fferent commented 6 months ago

Thanks, @saikrishna321! your suggestion worked. Actually I found out that just disabling platformVersion was sufficient. This makes me wonder as to why I had to disable it in the first place? Is there documentation that could shed some more light on this useful plugin?

There are pieces in our reporting that requires the platformVersion so would be helpful for me to find out more.

saikrishna321 commented 6 months ago

https://appium-device-farm-eight.vercel.app documentation

You can get platformVersion from driver session.