-
Notifications
You must be signed in to change notification settings - Fork 159
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
Improve error messages from Patrol methods #1044
Comments
I'd prefer to create separate issues for specific errors, and have a milestone called e.g. "Better logging". But feel free to comment anyway, we'll can do that afterward. See also: |
Separate issues will be created later. |
This PR is about improving error messages from Custom Finders-related functionality only. I'm afraid there's not much we can do without sacrificing the safety checks we currently get by using functions from TestAsyncUtils class from More context: There's an open Flutter issue about this problem, which is essentially a bug the core Dart package called stack_trace. In Patrol, there are also issues/PRs that are about improving error messages from Native Automation-related functionality. See: |
First problem will be fixed with scrolling rework (see #1325), second one is not very important right now |
Possibly related: dart-lang/sdk#46318 |
Here will be listed issues with Patrol error messages.
when

scrollTo()
hasn't found any widget that matches provided finder within a timeout:When
first
/last
/at()
is called on a finder that doesn't find any widgets:The text was updated successfully, but these errors were encountered: