diff --git a/tests/flutter/integration_test/ui_test.dart b/tests/flutter/integration_test/ui_test.dart index 2fe9adf6c..c290227e7 100644 --- a/tests/flutter/integration_test/ui_test.dart +++ b/tests/flutter/integration_test/ui_test.dart @@ -93,6 +93,7 @@ void main() async { )); await tester.pump(); + await tester.pumpAndSettle(); await saveScreenShot(tester, prefix: "basic"); }); @@ -127,7 +128,7 @@ void main() async { expect(bottomGroup.numDockWidgets(), 1); expect(bottomGroup.dockWidgetAt(0), dock2); - await tester.pump(); + await tester.pumpAndSettle(); await saveScreenShot(tester, prefix: "titlebar-close-button-2"); }); }