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

[MA-2561] Bad requests for inputText and eraseText if keyboard is not present #2175

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

amanjeetsingh150
Copy link
Collaborator

@amanjeetsingh150 amanjeetsingh150 commented Dec 6, 2024

Proposed changes

When the keyboard is not present on the screen the call to inputText and eraseText leads to a timeout which then becomes an infra error.

This change:

  1. Raises a bad request if keyboard is not present on the screen during the operations
  2. Catching them as known exception so that command doesn't fail.

Testing

  • Locally
  • Cloud

Issues fixed

Copy link

linear bot commented Dec 6, 2024

Copy link

github-actions bot commented Dec 6, 2024

Make sure to run ./maestro-ios-xctest-runner/build-maestro-ios-runner.sh with every swift change

@amanjeetsingh150 amanjeetsingh150 merged commit 768d248 into main Dec 9, 2024
9 checks passed
@amanjeetsingh150 amanjeetsingh150 deleted the MA-2561 branch December 9, 2024 06:28
rasyid7 pushed a commit to rasyid7/maestro that referenced this pull request Dec 9, 2024
rasyid7 pushed a commit to rasyid7/maestro that referenced this pull request Dec 9, 2024
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.

3 participants