-
Notifications
You must be signed in to change notification settings - Fork 281
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
eraseText deletes an extra character on Android #2122
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Steps to reproduce
Actual results
'tes'
4 characters have been erased.
Expected results
'test'
Only erases the 3 I asked for :)
About app
n/a, but found with com.example.example - Maestro's Flutter test app
About environment
Linux, OpenJDK Temurin 17
Logs
Logs
Maestro version
1.39.0
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
I think this is caused by this loop:
maestro/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt
Lines 276 to 278 in 475acc1
When using
- inputText: 3
this will press delete for 0 to 3 -> 4 times.This can be reproduced by performing the same logic in FakeDriver:
The text was updated successfully, but these errors were encountered: