zebrunner / mcloud-device

Android, Appium and STF provider in Docker.
10 stars 8 forks source link

move device type detection outside of stf #170

Closed vdelendik closed 7 months ago

vdelendik commented 10 months ago

related in appium is zebrunner/stf#310

vdelendik commented 9 months ago

moved to 2.7 in accordance with appium 2.1 nilestone

vdelendik commented 8 months ago
  1. as mcloud-device depends on appium container it has sense to reuse appium end-point if any to detect device type.
  2. current device type detection for android uses adb and rather complex due to the default response in https://github.com/zebrunner/appium/blob/ce71aff1ad593bc40d4944ba5f1162778c4621e2/files/android.sh#L6
  3. for wda there is an api to detect device type:
    curl appium:8100/status -s | grep "device" | sed "s/.*: \"\(.*\)\",/\1/g"

it would be great to unify device type detection somehow... and simplify a lot.

vdelendik commented 7 months ago

nothing to test as we completely removed device type detection and analysis from stf and mcloud-device