Allow adb to interact with the app during flutter integration tests #107934
Labels
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
customer: money (g3)
f: integration_test
The flutter/packages/integration_test plugin
P3
Issues that are less important to the Flutter project
platform-android
Android applications specifically
r: fixed
Issue is closed as already fixed in a newer version
tool
Affects the "flutter" command-line tool. See also t: labels.
Uh oh!
There was an error while loading. Please reload this page.
Use case
We want to test platform views (including webviews) in our flutter integrations tests. Flutter integration tests currently don't support this. To workaround this, we'd like to use adb to interact with the app. For adb to be able to interact with the app during the test, we need to set
pointerEventSource
toTestBindingEventSource.test
.Unfortunately, flutter_test doesn't seem to support setting
pointerEventSource
yet... I think we can create a setter for it, or makewithPointerEventSource
. Thanks!The text was updated successfully, but these errors were encountered: