tvarchive / optimusTemplate

This is a cucumber jvm implementation template using the optimus mobile automation framework. If you like it, star it, help spread the word.
http://docs.testvagrant.com
66 stars 23 forks source link

Debug mode points to wrong device while connecting multiple devices with appiumServerCapability has "UUID" and "deviceName" specified. #19

Closed asitishere closed 6 years ago

asitishere commented 6 years ago

Note: Please attach 2 devices to the system where we are debugging with the application installed.

{
  "belongsTo": "XXX",
  "runsOn": "device",
  "appDir": "app",
  "nativeApp":true,
  "optimusDesiredCapabilities": {
    "appiumServerCapabilities": {
      "app": "UIRefresh.ipa",
      "platformName": "iOS",
      "automationName": "XCUITest",
      "udid":"b31c1ad0774e4b366ac5e4286357a1957df19ab3",
      "deviceName":"iPhone8Auto"
   } 

Add a breakpoint and start debugging.

Expected: As we already provided uuid and device name the debug should point to specific device. Actual: App start in another device and not point to device details specified under server capability.

This is not something blocking but good to have a look .

sukesh15 commented 6 years ago

@asitishere Have your tried it recently, is it still happening for you with later versions.