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

Skip to content

Allow user interaction (gestures/taps) when executing integration tests #103288

Open
@fzyzcjy

Description

@fzyzcjy

Use case

Hi thanks for Flutter! Currently, when executing integration tests, "tapping the screen" will output something like "Some possible finders for the widgets at Offset(165.7, 462.0)". However, I would appreciate it if the app could be interactive. In other words, users could tap buttons of the app and play with it, etc. It would be very help for debugging the tests!

The reason and context is that, with https://github.com/fzyzcjy/flutter_convenient_test (a package I just open sourced), users can already conveniently re-run a test very quickly and see various results. However, currently the users still cannot interact with the app, except for doing a full hot-restart.

Proposal

I have done a bit of hacking (if you are interested, the messy code is at fzyzcjy/flutter_convenient_test#147). But seems no clue to solve it.

I am willing to make a PR!

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 Flutterf: gesturesflutter/packages/flutter/gestures repository.f: integration_testThe flutter/packages/integration_test pluginframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions