mobile-dev-inc/maestro

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

Open

#1.096 geöffnet am 19. Mai 2023

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Kotlin (306 Forks)batch import
P3enhancementgood first issuemaestro cli

Repository-Metriken

Stars
 (6.111 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 2h) (39 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide