[material_ui] Remove widgets import in scaffold_test.dart#11973
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes the @Skip annotation from scaffold_test.dart to re-enable the test file, updates the import path for semantics_tester.dart, and reorders the package imports. There are no review comments, and there is no feedback to provide.
| await tester.pumpWidget(MaterialApp(routes: routes)); | ||
|
|
||
| Navigator.pushNamed(rootKey.currentContext!, '/scaffold'); | ||
| unawaited(Navigator.pushNamed(rootKey.currentContext!, '/scaffold')); |
There was a problem hiding this comment.
is there a warning for this change?
There was a problem hiding this comment.
I feel we should remove the unawaited here just to make our coding style in sync.
There was a problem hiding this comment.
It might be required. I think it was staged in flutter/flutter and waiting on the code freeze. The lint might be enabled in flutter/packages, where it's still pending in flutter/flutter. flutter/flutter#168555
There was a problem hiding this comment.
Yes, there was 2 failures in linux_analyze_stable test if we don't remove it.
scaffold_test.dartscaffold_test.dart
…er#188634) flutter/packages@7ff3e1f...c1f7d92 2026-06-25 21270878+elliette@users.noreply.github.com [material_ui] Enable `bottom_navigation_bar_test` (flutter/packages#12005) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove `widgets/` import in `flexible_space_bar_test.dart`, `app_bar_sliver_test.dart` and partial fix in `chip_test.dart` (flutter/packages#12004) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `animated_icon_test.dart` and `autocomplete_test.dart` (flutter/packages#12000) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `app_bar_test.dart` (flutter/packages#11998) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `search_anchor_test.dart` (flutter/packages#11997) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `menu_anchor_test.dart` (flutter/packages#11995) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `scaffold_test.dart` (flutter/packages#11973) 2026-06-25 stuartmorgan@google.com [google_maps_flutter] Fix iOS &/&& logic (flutter/packages#11994) 2026-06-25 engine-flutter-autoroll@skia.org Roll Flutter (stable) from e1fd963 to ad70ec4 (5 revisions) (flutter/packages#11985) 2026-06-25 katelovett@google.com [CI] Fix labeler for cupertino_ui PRs (flutter/packages#11988) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `slider_test.dart` (flutter/packages#11977) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `drawer_test.dart` (flutter/packages#11976) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `navigation_rail_test.dart` (flutter/packages#11974) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…er#188634) flutter/packages@7ff3e1f...c1f7d92 2026-06-25 21270878+elliette@users.noreply.github.com [material_ui] Enable `bottom_navigation_bar_test` (flutter/packages#12005) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove `widgets/` import in `flexible_space_bar_test.dart`, `app_bar_sliver_test.dart` and partial fix in `chip_test.dart` (flutter/packages#12004) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `animated_icon_test.dart` and `autocomplete_test.dart` (flutter/packages#12000) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `app_bar_test.dart` (flutter/packages#11998) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `search_anchor_test.dart` (flutter/packages#11997) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `menu_anchor_test.dart` (flutter/packages#11995) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `scaffold_test.dart` (flutter/packages#11973) 2026-06-25 stuartmorgan@google.com [google_maps_flutter] Fix iOS &/&& logic (flutter/packages#11994) 2026-06-25 engine-flutter-autoroll@skia.org Roll Flutter (stable) from e1fd963 to ad70ec4 (5 revisions) (flutter/packages#11985) 2026-06-25 katelovett@google.com [CI] Fix labeler for cupertino_ui PRs (flutter/packages#11988) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `slider_test.dart` (flutter/packages#11977) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `drawer_test.dart` (flutter/packages#11976) 2026-06-25 36861262+QuncCccccc@users.noreply.github.com [material_ui] Remove widgets import in `navigation_rail_test.dart` (flutter/packages#11974) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Part of flutter/flutter#182636 and flutter/flutter#188395
This PR:
semantics_tester.dartfrommaterial_ui/temporarily_disabled_tests/scaffold_test.dart.semantics_tester.darthas existed inmaterial_ui, so we can directly import../test/semantics_tester.dart';test/folder.Pre-Review Checklist
[shared_preferences]///).