Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maestro stopped asking which device to use when many are running, defaults to Android device #2096

Open
1 task done
DavidREntwistle opened this issue Oct 16, 2024 · 1 comment

Comments

@DavidREntwistle
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

  1. Open multiple devices e.g. x1 iOS simulator & x1 Android Emulator.
  2. Run the maestro test yourFlow.yaml command.
  3. Observe no Multiple running devices detected. Choose a device to run on. prompt.

Actual results

When I have multiple devices running, I cannot select which device to run the flow on with the maestro test command anymore.

If I have both an iOS simulator and android emulator running and I want to run X flow on the android emulator, I need to close the iOS simulator first, vice versa.

Expected results

When I have multiple devices running, I should be prompted with:

Multiple running devices detected. Choose a device to run on.
Enter a number from the list above:
Screenshot 2024-10-16 at 10 17 38

The maestro studio command still allows this functionality.
I do not require any devices to be closed to run X flow on the correct device.

About app

  • Native iOS & Android app

About environment

  • MacBook Pro M2 Max - 32 GB
  • macOS Sonoma 14.6
  • arm64

Logs

N/a

Maestro version

1.37.0 - 1.39.0

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

Re-raised of this issue here as this hasn't been resolved by this fix in CLI 1.39.0.

1.36.0 did not have this issue.
Occurred since 1.37.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant