Skip to content

FlutterDriver does not support to find/read validation errors (errorText) of a form field. #18445

@sdolski

Description

@sdolski

Hi,

I'm writing an integration test for my flutter application. Goal of the integrationtest is to test the form field validation behaviour.

As an example, I want to check if an email field contains a valid email address. If not, an appropriate errorText is displayed below the form field.

As far as I have seen, FlutterDriver currently only supports to read the text of a form field. What I would need for my IntegrationTest case is to read the errorText of the form field.

Would be great if the FlutterDriver could support such cases.

Regards,
Sacha

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.t: flutter driver"flutter driver", flutter_drive, or a driver testteam-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