Skip to content
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

[Maestro Cloud] input text flaky in iOS #1225

Closed
SaphiraNgocThuy opened this issue Jul 6, 2023 · 4 comments
Closed

[Maestro Cloud] input text flaky in iOS #1225

SaphiraNgocThuy opened this issue Jul 6, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@SaphiraNgocThuy
Copy link

Describe the bug
Flaky text input when running
- inputText: ${USERNAME}

To Reproduce
Steps to reproduce the behavior, e.g.:

  1. Only happens on Maestro cloud
  2. See video in screenshot section
  3. The Flow fails at:
  • Tap on id: email-username-input
  • Then wait for animation to end.
  • Then Input text ${username} which input wrongly, (mobiletestfreeuser => mbiletestfreeusero)

Expected behavior
Should input correctly mobiletestfreeuser

Screenshots
https://github.com/mobile-dev-inc/maestro/assets/41480474/6cd800ad-6758-4ed6-9def-76501f440825

Environment information (please complete the following information):

  • Maestro Cloud @v1.2.3
  • Platform: iOS
  • Framework: React Native
  • Device model and OS version: iPhone 14
  • Simulator
  • Host [e.g. Mac M1, Windows, Linux, etc]
@SaphiraNgocThuy SaphiraNgocThuy added the bug Something isn't working label Jul 6, 2023
@SaphiraNgocThuy SaphiraNgocThuy changed the title [Maestro Cloud] [Maestro Cloud] input text flaky in iOS Jul 6, 2023
@igorsmotto
Copy link
Collaborator

Hey @SaphiraNgocThuy,
Sadly, inputText on iOS is still subpar to what we would like it to be, and we're hoping to fix that in the future.

However, one thing that we found out from our work was that inputText looks to be more stable on iOS 16. Therefore, could you try uploading this flow to run on iOS 16 to see if this flakiness is fixed?

maestro cloud yourApp.app workspace --ios-version=16
Docs here

--
Also, usually, you don't need to wait for the animation to end before inputting the text. But my guess is that you added this wait because of the flakiness, am I right? If not, could you share the reason for it?

@SaphiraNgocThuy
Copy link
Author

Hey @SaphiraNgocThuy, Sadly, inputText on iOS is still subpar to what we would like it to be, and we're hoping to fix that in the future.

However, one thing that we found out from our work was that inputText looks to be more stable on iOS 16. Therefore, could you try uploading this flow to run on iOS 16 to see if this flakiness is fixed?

maestro cloud yourApp.app workspace --ios-version=16 Docs here

-- Also, usually, you don't need to wait for the animation to end before inputting the text. But my guess is that you added this wait because of the flakiness, am I right? If not, could you share the reason for it?

hi @igorsmotto yeah, seems changing the ios version and upgrading Maestro cloud to v1.4.1 fixed this, thank u
Yeah, I added the wait for animation to end before inputting text to fix this issue, now can remove thank uu 👯

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.
Thank you for helping keep us our issue tracker clean!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2024
@bartekpacia
Copy link
Contributor

This issue is probably related (or the same) as #2005

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants