mobile-dev-inc/maestro

Improve device selection prompt

Open

#1,810 创建于 2024年7月18日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Kotlin (306 fork)batch import
P3enhancementgood first issuemaestro cli

仓库指标

Star
 (6,111 star)
PR 合并指标
 (平均合并 12天 2小时) (30 天内合并 39 个 PR)

描述

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

贡献者指南