Skip to content

Flutter test's bySemanticsLabel() finder has unhelpful description #181196

Description

@math1man

Steps to reproduce

  1. Use find.bySemanticsLabel('foo') in a test such that the matcher fails in some way.
  2. See that the test failure message is very nondescript

Expected results

The failure message should indicate the label trying to be matched.

Actual results

The failure message does not indicate the label trying to be matched.

Code sample

N/A, see above

Screenshots or Video

N/A

Logs

N/A

Flutter Doctor output

N/A

Metadata

Metadata

Assignees

Labels

a: error messageError messages from the Flutter frameworka: tests"flutter test", flutter_test, or one of our testsf: material designflutter/packages/flutter/material repository.found in release: 3.38Found to occur in 3.38found in release: 3.41Found to occur in 3.41frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions