You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using EAS Build to run Maestro-based E2E tests (following the official guide) and discovered that it currently requires disabling the New Android Builds Infrastructure in Project Settings to enable virtualization for the Android emulator.
However, disabling the new infrastructure might impact my main production pipeline, which I’d prefer to keep on the latest build system.
Is support for the new build infrastructure on the roadmap?
If I disable it for E2E tests, do I need to maintain two separate pipelines—one for tests (old infra) and one for production (new infra)?
Is there any known timeline or workaround to keep everything on the new build infrastructure without losing the ability to run E2E tests?
I love what you’re doing with EAS CLI. This feature would be a huge help for end-to-end test automation workflows!
Thanks in advance for any info or guidance you can provide.
Hey Julien! Congratulations on setting up a build and a Maestro test!
Our latest (and I think better) answer to the need to run a build and then a test is Workflows.
jobs:
build:
type: buildparams:
platform: androidprofile: ???? # use some profile which won't do Maestro testse2e-test:
type: maestroneeds: [build]params:
build_id: ${{ needs.build.outputs.build_id }}flow_path: | .maestro/login/loginWithEmailFlow.yaml .maestro/login/updateUserFlow.yaml .maestro/login/logout.yaml
Try adding this to .eas/workflows/build-and-test.yml and then running npx -y eas-cli workflow:run build-and-test, I think this should work!
While above is better for orchestrating "a build and then a Maestro test", this won't necessarily help with Failed to configure emulator: emulator with required ID not found.. Not sure what's up with that…
Build/Submit details page URL
https://expo.dev/accounts/hashtagbe/projects/componentslib-staging/builds/6a70f1f1-e1a4-4869-bd1c-2a41a5f5980a
Summary
I’m using EAS Build to run Maestro-based E2E tests (following the official guide) and discovered that it currently requires disabling the New Android Builds Infrastructure in Project Settings to enable virtualization for the Android emulator.
However, disabling the new infrastructure might impact my main production pipeline, which I’d prefer to keep on the latest build system.
I love what you’re doing with EAS CLI. This feature would be a huge help for end-to-end test automation workflows!
Thanks in advance for any info or guidance you can provide.
Managed or bare?
managed workflow
Environment
npx expo-env-info:
Error output
Failed to configure emulator: emulator with required ID not found.
Reproducible demo or steps to reproduce from a blank project
My build-and-maestro-test.yml:
My build settings:
The command that I run: eas build --profile build-and-maestro-test
The text was updated successfully, but these errors were encountered: