Skip to content

Provide better support for UiAutomator #32062

@alanrussian

Description

@alanrussian

Internal: b/131923608

cc @mehmetf
cc @jonahwilliams

Not sure how much is possible here, but it's a little bit difficult to use UiAutomator with Flutter. Of particular difficulty is the fact that there's no way to provide any sort of identifier for finding elements. With Android Framework development, you can use resource IDs, but there's no parallel with Flutter. Using UiAutomator is useful for testing inside Google because it's used by an internal testing framework that I expect most teams inside of Google will want to use.

Is it possible to create virtual resource IDs when turning the Flutter semantic tree into the Android view tree (my understanding of how things work)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our testsc: proposalA detailed proposal for a change to Fluttercustomer: mulligan (g3)frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions