mobile-dev-inc/maestro

Make Maestro faster by giving the option to skip helper APKs install/uninstall

Open

#1,096 建立於 2023年5月19日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Kotlin (306 fork)batch import
P3enhancementgood first issuemaestro cli

倉庫指標

Star
 (6,111 star)
PR 合併指標
 (平均合併 12天 2小時) (30 天內合併 39 個 PR)

描述

Is your feature request related to a problem? Please describe. When running on lower end Android devices, Maestro can take a long time to start and to finish the test, since it's installing the APKs + uninstalling at the end

For instance, we use Flashlight to generate e2e performance reports based on several e2e test iterations and we recommend heavily the use of Maestro (https://docs.flashlight.dev/test/maestro) However the time bottleneck of running multiple test iterations is those install/uninstall

Describe the solution you'd like It'd be nice to have the option to skip APK install/uninstall to speed things up For instance

maestro test test.yaml --skipApkInstall

I'd be happy to raise a PR for that!

We could also add a maestro setup task that does the necessary setup before running a test

貢獻者指南