-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Exception thrown on widget testing #59938
Comments
Update: await tester.pumpWidget(
MaterialApp(
home: BlocProvider.value(
value: signInBloc,
child: SignInForm(),
),
),
); I get a new error: (I think the issue is related to having a TextFormField inside a Listview for my SignInForm widget)
|
Hi @geovin89 |
Yes. Having it in both Material App and Scaffold widget seems to fix the issue. I guess it just lacks better logs to resolve the issue. |
@geovin89
closing as solved |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Scenario:
I am trying to unit test one of my widgets for my SignInForm screen. Code is exactly like the LoginForm code provided in the bloc firebase login tutorial
but it throws the following exception:
The text was updated successfully, but these errors were encountered: