mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.79k stars 270 forks source link

Unable to run on specific device when there are more than 1 device connect to the system #2104

Open EricJr005 opened 5 hours ago

EricJr005 commented 5 hours ago

Is there an existing issue for this?

Steps to reproduce

  1. Having more than 1 devices plug into a system
  2. Use --device to specify a device to run test on.
  3. Observe errored results

Actual results

Hello,

I have 2 Android devices connect to my linux system (Ubuntu 20.04.6 LTS) and I am trying to use to suggested solution on targeting specific devices to run test https://maestro.mobile.dev/advanced/specify-a-device. However, I am unable to run test as it shows on the screenshot that devices it is not connected.

*Interesting note, I can run test if I only have one device connect to my system but that defeats the purpose specifying a device.

Screenshot 2024-10-21 at 2 11 07 PM

Expected results

Based on your instruction, I would expect that I can specific a device to run test on.

About app

it is on the Bell TV app which is support both IOS and Android. It is however closed source.

About environment

Ubuntu 20.04.6 LTS

Logs

Logs ``` ```

Maestro version

1.39.0

How did you install Maestro?

other (please specify in the text area below)

Anything else?

curl -fsSL "https://get.maestro.mobile.dev" | bash -pre your instruction https://maestro.mobile.dev/getting-started/installing-maestro

linear[bot] commented 5 hours ago

MA-2379 Unable to run on specific device when there are more than 1 device connect to the system