Skip to content

fix(orchestra): interpolate appId for driver waits - #3482

Open
xianjianlf2 wants to merge 3 commits into
mobile-dev-inc:mainfrom
xianjianlf2:fix/resolve-templated-app-id-3479
Open

fix(orchestra): interpolate appId for driver waits#3482
xianjianlf2 wants to merge 3 commits into
mobile-dev-inc:mainfrom
xianjianlf2:fix/resolve-templated-app-id-3479

Conversation

@xianjianlf2

Copy link
Copy Markdown
Contributor

Summary

  • Resolve the flow-level MaestroConfig after DefineVariablesCommand runs.
  • Pass the evaluated config to flow hooks and commands so driver consumers such as waitForAppToSettle receive the interpolated appId.
  • Add an integration regression test covering a templated appId during tap settling.

Fixes #3479

Testing

  • git diff --check
  • ./gradlew :maestro-test:test --tests maestro.test.IntegrationTest --tests 'maestro.test.IntegrationTest.templated appId is used when settling after a tap' (blocked locally: no Java Runtime is installed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Templated appId is interpolated for launchApp but passed raw to waitForAppToSettle, which then silently skips the wait (2.6.0, Android)

1 participant