-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Maestro 1.37.x support #16
Comments
I have been investigating this bug. I have tracked it down to a recent change in maestro that caused the default port to change from See here for details: mobile-dev-inc/maestro#1816 (comment) Easy fix (in theory)So in theory, the fix should be as simple as changing:;
to:
This change does work in my testing locally. I've opened a PR with this potential fix in #17 However, I'm not convinced this will work in maestro cloud or any environment that using sharding. See below for details. It might not be so easy...The root cause of this problem is a recent change to maestro (#1732) that added sharding / parallel execution. The direct bug from that change was that the default port (when not using sharding) changed from However, that fix might not be durable enough to work in situations where sharding is enabled. I assume that maestro cloud uses sharding, but I do not know that for certain. My concern is that if maestro cloud uses sharding, than the fix suggested above won't work reliably when running tests in maestro cloud. To be clear: it won't work in any environment that uses sharding. This is because when sharding is enabled, maestro picks random ports in the range
This is from Alternative workarounds or solutionsUsing
|
This is a breaking change. Maestro 1.36.0 and before uses port 22087 by default. Maestro version 1.37.0 and beyond use 7001 For details see: - jpudysz#16 - mobile-dev-inc/maestro#1816
Description:
Unable to use the library with the latest Maestro version (1.37.x), the latest being 1.37.9.
In the staging app, running in production mode, the
isMaestro()
function always returns false using version3.0.1
.Steps to Reproduce:
isMaestro()
function.Expected Behavior:
isMaestro()
function should returntrue
when using the Maestro version1.37.x
, provided Maestro detection criteria are met.Current Behavior:
isMaestro()
function consistently returnsfalse
with version3.0.1
.React Native version:
0.74.2
The text was updated successfully, but these errors were encountered: