mobile-dev-inc/maestro

Improve device selection prompt

Open

#1.810 aberto em 18 de jul. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Kotlin (306 forks)batch import
P3enhancementgood first issuemaestro cli

Métricas do repositório

Stars
 (6.111 stars)
Métricas de merge de PR
 (Mesclagem média 12d 2h) (39 fundiu PRs em 30d)

Description

A bit perfectionist but whatever.

$ maestro test .maestro/reminders_test.yaml
Android

[1] emulator-5554

iOS

[2] iPhone 15 Pro - iOS 17.5 - 276BC887-488A-452A-B4CC-CD6DF899EF45

Multiple running devices detected. Choose a device to run on.

Enter a number from the list above:

2
$ maestro test .maestro/reminders_test.yaml
There are multiple connected devices
[1]: emulator-5554
[2]: iPhone 15 Pro - iOS 17.5 - 276BC887-488A-452A-B4CC-CD6DF899EF45
Please choose one (or "q" to quit): 2
$ flutter run
Connected devices:
sdk gphone64 arm64 (mobile)     • emulator-5554                        • android-arm64 • Android 14 (API 34) (emulator)
iPhone 15 Pro (mobile)          • 276BC887-488A-452A-B4CC-CD6DF899EF45 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin        • macOS 14.5 23F79 darwin-arm64

No wireless devices were found.

[1]: sdk gphone64 arm64 (emulator-5554)
[2]: iPhone 15 Pro (276BC887-488A-452A-B4CC-CD6DF899EF45)
[3]: Mac Designed for iPad (mac-designed-for-ipad)
Please choose one (or "q" to quit): 2

Guia do colaborador