Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert problem on widget_test.dart #17

Open
cristianopcortez opened this issue Sep 30, 2020 · 0 comments
Open

Assert problem on widget_test.dart #17

cristianopcortez opened this issue Sep 30, 2020 · 0 comments

Comments

@cristianopcortez
Copy link

I'm getting an assert test failure on run widget_test.dart:

The following TestFailure object was thrown running a test:
Expected: exactly one matching node in the widget tree
Actual: _TextFinder:<zero widgets with text "0" (ignoring offstage widgets)>
Which: means none were found but one was expected

The same question was made on stackoverflow too:

https://stackoverflow.com/questions/59450096/testing-dart-code-in-android-studio-no-widgets-involved-only-data-structures-a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant