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

贡献者指南