mobile-dev-inc/maestro

Improve device selection prompt

Open

#1810 aperta il 18 lug 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Kotlin (306 fork)batch import
P3enhancementgood first issuemaestro cli

Metriche repository

Star
 (6111 star)
Metriche merge PR
 (Merge medio 12g 2h) (39 PR mergiate in 30 g)

Descrizione

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

Guida contributor