mobile-dev-inc/maestro

Improve device selection prompt

Open

#1,810 opened on 2024年7月18日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Kotlin (306 forks)batch import
P3enhancementgood first issuemaestro cli

Repository metrics

Stars
 (6,111 stars)
PR merge metrics
 (平均マージ 12d 2h) (30d で 39 merged PRs)

説明

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

コントリビューターガイド