Skip to content

Android tests failed when I using native commands in Patrol 2.0+ #1462

Answered by hrubalski
hrubalski asked this question in Q&A
Discussion options

You must be logged in to vote

@bartekpacia Thanks, solved!

Yes, we had EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK with PlatformException inside. Why? Because by some accident we were asking for notification permission twice.

Output:

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════
The following PlatformException was thrown running a test:
2023-07-04 15:01:32.526 27857-27908 flutter  replaced.fake.bundle.dev  I  PlatformException(permissionRequestInProgress, Another permission request is already in progress,
2023-07-04 15:01:32.526 27857-27908 flutter  replaced.fake.bundle.dev  I  null, null)

Thank you!

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@hrubalski
Comment options

@bartekpacia
Comment options

@hrubalski
Comment options

Answer selected by bartekpacia
@bartekpacia
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants