-
Notifications
You must be signed in to change notification settings - Fork 68
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
Widget tree is not cleaned up between invocations of customPump
passed to multiScreenGolden
#177
Comments
#146 looks like it would have the same root cause |
I found a suitable workaround: Instead of this:
Call the pump function before the goldens are checked:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of the tests require scrolling the page, or tapping on buttons to expand
ExpansionTile
and other similar widgets. I implemented this using thecustomPump
parameter ofmultiScreenGolden
.For example:
A button labelled 'Show hidden widget' makes the
HiddenWidget
appear in the UI. e.g.It works as expected when there is only a single device, and the logs indicate that it works for the first device only when there are multiple devices. The hidden widget is visible when customPump is called for the second device.
I expected the widget tree to be completely cleaned up, then custom pump to be called.
The text was updated successfully, but these errors were encountered: