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

Investigate flakiness with tap() and enterText() on Android #248

Open
bartekpacia opened this issue Sep 8, 2022 · 2 comments
Open

Investigate flakiness with tap() and enterText() on Android #248

bartekpacia opened this issue Sep 8, 2022 · 2 comments
Labels
bug Something isn't working needs more info Looks valid, but more info is needed P2 Issues not at the top of the work list package: patrol Related to the patrol package (native automation, test bundling) platform: android Android is affected

Comments

@bartekpacia
Copy link
Contributor

Occurs once in 10-15 tests on the login page in the customer project.

Reported by @jBorkowska.

@bartekpacia bartekpacia added package: patrol Related to the patrol package (native automation, test bundling) platform: android Android is affected bug Something isn't working labels Sep 8, 2022
@bartekpacia
Copy link
Contributor Author

bartekpacia commented Nov 7, 2022

Still occurs. Looks like this is caused by the keyboard obscuring the view.

Example log:

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following PatrolActionException was thrown running a test:
Patrol action failed: enterText() failed with code NOT_FOUND (selector
UiSelector[CONTAINS_TEXT=Password, PARENT=UiSelector[CLASS=android.widget.EditText]] found nothing)

A possible workaround is to now show the keyboard when entering text - see #967 to learn more.

@Nolat
Copy link

Nolat commented Aug 22, 2023

The bug is still there. I try to test the connection on an Auth0 page. Everything works fine, but sometimes it can't find the Continue button or can't write to a field. And this happens randomly.
This makes it impossible to test the application reliably. Sometimes tests don't pass when they should.

@jBorkowska jBorkowska added P1 High-priority issues at the top of the work list needs more info Looks valid, but more info is needed labels Nov 17, 2023
@jBorkowska jBorkowska added P2 Issues not at the top of the work list and removed P1 High-priority issues at the top of the work list labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info Looks valid, but more info is needed P2 Issues not at the top of the work list package: patrol Related to the patrol package (native automation, test bundling) platform: android Android is affected
Projects
None yet
Development

No branches or pull requests

3 participants