Open fantpmas opened 11 months ago
At least myself and one other person have encountered this bug, according to the Maestro Slack.
@fantpmas can you provide the screen view hierarchy? Run maestro hierarchy
and paste the output
Here you go: hierarchy.txt
Does the same happen when running with maestro test testing.yaml
?
Yes, the issue is pretty clear if you look at the logs:
This works fine by the way:
- tapOn:
text: 'YES'
Oh if it works with quotes it seems a bug in the process of converting the yaml to maestro object, I'd guess that it's converting YES
to boolean instead of string
Yeah, it's a problem with YAML[^1]. YES
, yes
are aliases for true
. NO
, no
are aliases for false
. This is working as intended.
I'm afraid there's not much we can do apart from updating the docs to encourage users to use double quotes.
Below is a repro:
[^1]: A fun read: https://noyaml.com
Describe the bug Tapping on YES or NO labels does not work.
To Reproduce
-tapOn: YES
Expected behavior YES option is tapped.
Screenshots Maestro Studio shows success, but button is not tapped.
Environment information (please complete the following information):
Additional context This does work: