Member-only story

Run Maestro E2E on CI using Genymotion SaaS.

Davyd NRB
2 min readAug 13, 2023

Genymotion service privide a huge amount of Android emulators that can be used to run Maestro E2E tests.

I’ll try to provide you a short list of instructions in this article to help you create a workflow.

Let’s first install gmsaas cli

pip3 install gmsaas
gmsaas config set android-sdk-path "$ANDROID_HOME"

After that, you need to sign in (Obviously, you must signup first)

export GMSAAS_EMAIL="you-email@test.com"
export GMSAAS_PASSWORD="you-password"

gmsaas auth login $GMSAAS_EMAIL $GMSAAS_PASSWORD

Let’s begin by starting your first Android emulator now.

To start Android you need to know its recipes_id. You can make your own or use already created recipes:

gmsaas recipes list # print list available recipes
# ...
# 4c015ada-e64e-4f5d-a320-06cbf6e95648 Google Pixel 3a 10.0 1080 x 2220 dpi 420 genymotion
# 70eaaf75-bd9a-406d-9f01-682a5d400c6e Samsung Galaxy S10 10.0 1440 x 3040 dpi 560 genymotion
# e104f058-b291-4764-8e0d-d9ff78a41192 Custom Phone 11.0 768 x 1280 dpi 320 genymotion
# c65db329-511a-4c2a-9761-c7259649e8c7 Custom Tablet 11.0 1536 x 2048 dpi 320 genymotion
# 95016679-8f8d-4890-b026-e4ad889aadf1 Google Pixel 3a 11.0 1080 x 2220 dpi 420 genymotion


INSTANCE_UUID=$(gmsaas instances start 95016679-8f8d-4890-b026-e4ad889aadf1 my_instance_name)

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Davyd NRB
Davyd NRB

Written by Davyd NRB

React Native guru 🧘\ DevOps adjutant \ Linux lover ❤️

Responses (1)

Write a response

Thank you for sharing, this is very helpful!
Do you know of a way to run Maestro tests in parallel on Genymotion? Since the Maestro CLI doesn't support parallel runs, perhaps by using multiple Docker containers?

Recommended from Medium

Lists

See more recommendations