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

Running tapOn after hideKeyboard results in not tapping a button #993

Closed
pepyta opened this issue Apr 14, 2023 · 4 comments
Closed

Running tapOn after hideKeyboard results in not tapping a button #993

pepyta opened this issue Apr 14, 2023 · 4 comments
Labels
needs more info The issue seems valid, but more information is needed to pinpoint the cause

Comments

@pepyta
Copy link

pepyta commented Apr 14, 2023

Problem:

After the release of the 1.26.0 version, our tests started failing because tapping on a button right after hiding the keyboard caused it to not get actually tapped on. I think that the solution is that the hideKeyboard command should block the test run until the keyboard has finished the blocking of tapping other things on the screen.

Environment:

  • Android emulator
  • API level: 29

Example code:

...
- tapOn:
    id: "name-field"
- inputText: ${NAME}
- tapOn:
    id: "email-field"
- inputText: ${EMAIL}
- tapOn:
    id: "password-field"
- inputText: ${PASSWORD}
- "hideKeyboard"
- tapOn:
    id: "register-button"
- assertVisible:
    text: "Sikeres regisztráció!" # <- Successful registration in Hungarian
...

Versions:

  • 1.25.0 ✅
  • 1.26.0 ❌
  • 1.26.1 ❌

Example recording:

example.mp4
@amanjeetsingh150
Copy link
Collaborator

Thanks for reaching out @pepyta. This used to work on the same device and Android API level 29 right in maestro 1.25.0 ?

@pepyta
Copy link
Author

pepyta commented Apr 19, 2023

Thanks for reaching out @pepyta. This used to work on the same device and Android API level 29 right in maestro 1.25.0 ?

Yes. I've changed nothing, except the Maestro version.

@amanjeetsingh150
Copy link
Collaborator

Ohhh can you share the reproducing steps with some sample apps? Or if you can share the binary and flow for this? Feel free to share over DM on our Slack community: https://docsend.com/view/3r2sf8fvvcjxvbtk

@axelniklasson axelniklasson added the needs more info The issue seems valid, but more information is needed to pinpoint the cause label May 3, 2023
@Fishbowler
Copy link
Contributor

There's been no response on this for 22 months. I'm going to optimistically call it solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info The issue seems valid, but more information is needed to pinpoint the cause
Projects
None yet
Development

No branches or pull requests

4 participants