mobile-dev-inc/maestro

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

オープン

#1,096 opened on 2023/05/19

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)Kotlin (824 件のフォーク)batch import
P3enhancementgood first issuemaestro cli

Repository metrics

Stars
 (14,051 個のスター)
PR merge metrics
 (平均マージ 12d 2h) (30d で 39 merged PRs)

説明

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

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