Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow adb to interact with the app during flutter integration tests #107934

Closed
@HelioStrike

Description

@HelioStrike

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 to TestBindingEventSource.test.

Unfortunately, flutter_test doesn't seem to support setting pointerEventSource yet... I think we can create a setter for it, or make withPointerEventSource. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: money (g3)f: integration_testThe flutter/packages/integration_test pluginplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions