Skip to content

[material_ui] Enable date_range_picker_test#12010

Merged
auto-submit[bot] merged 2 commits into
flutter:mainfrom
elliette:pr184297/date-range-picker-test
Jun 29, 2026
Merged

[material_ui] Enable date_range_picker_test#12010
auto-submit[bot] merged 2 commits into
flutter:mainfrom
elliette:pr184297/date-range-picker-test

Conversation

@elliette

@elliette elliette commented Jun 25, 2026

Copy link
Copy Markdown
Member

Port over date_range_picker_test from flutter/flutter#184279

Work towards flutter/flutter#182636 and flutter/flutter#188395

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jun 25, 2026
@github-actions github-actions Bot added triage-framework Should be looked at in framework triage p: material_ui labels Jun 25, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the @Skip annotations from bottom_navigation_bar_test.dart and date_range_picker_test.dart, and extracts shared test utilities (FeedbackTester and findByTooltip) into dedicated files (feedback_tester.dart and finders.dart). Feedback points out a potential runtime exception in finders.dart due to the use of the null-assert operator on widget.richMessage, suggesting the use of optional chaining instead.

Comment thread packages/material_ui/test/finders.dart
@elliette elliette marked this pull request as draft June 26, 2026 18:02
@elliette elliette force-pushed the pr184297/date-range-picker-test branch from 1d14ac2 to dc13233 Compare June 26, 2026 18:20
@github-actions github-actions Bot removed the CICD Run CI/CD label Jun 26, 2026
@elliette elliette force-pushed the pr184297/date-range-picker-test branch from dc13233 to 139366e Compare June 26, 2026 20:52
@elliette elliette added the CICD Run CI/CD label Jun 26, 2026
@elliette elliette marked this pull request as ready for review June 26, 2026 20:53

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the @Skip annotation from date_range_picker_test.dart, reorganizes imports, and wraps several showDateRangePicker calls in unawaited to properly handle the returned futures. There are no review comments, and I have no feedback to provide.

@Piinks Piinks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎊

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 29, 2026
@auto-submit auto-submit Bot merged commit 0615e3c into flutter:main Jun 29, 2026
89 checks passed
pull Bot pushed a commit to ZainCheung/flutter that referenced this pull request Jun 30, 2026
…er#188792)

flutter/packages@656ccaa...274ed3e

2026-06-30 nateshmbhat1@gmail.com [video_player_android] Add video track
selection support (flutter/packages#11475)
2026-06-30 engine-flutter-autoroll@skia.org Manual roll Flutter from
b081f33 to 0c80830 (1 revision) (flutter/packages#12058)
2026-06-30 36861262+QuncCccccc@users.noreply.github.com [material_ui]
Remove `widgets` import from `material_test.dart`
(flutter/packages#12056)
2026-06-29 36861262+QuncCccccc@users.noreply.github.com [material_ui]
Remove `widgets` imports from `card_test.dart`,
`checkbox_list_tile_test.dart` (flutter/packages#12054)
2026-06-29 36861262+QuncCccccc@users.noreply.github.com [material_ui]
Remove `widgets/clipboard_utils.dart`,
`widgets/text_selection_toolbar_utils.dart` imports from
`adaptive_text_selection_toolbar_test.dart` (flutter/packages#12053)
2026-06-29 engine-flutter-autoroll@skia.org Manual roll Flutter from
11e339e to b081f33 (1 revision) (flutter/packages#12050)
2026-06-29 36861262+QuncCccccc@users.noreply.github.com [material_ui]
Remove `widgets/clipboard_utils.dart` imports from
`date_picker_test.dart`, `input_date_picker_form_field_test.dart`,
`search_test.dart`, `selectable_text_test.dart`,
`text_form_field_test.dart`, `text_selection_test.dart`
(flutter/packages#12030)
2026-06-29 engine-flutter-autoroll@skia.org Manual roll Flutter from
87224e0 to 11e339e (4 revisions) (flutter/packages#12041)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `text_field_test` (flutter/packages#12022)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui] Port
PR (flutter#184807) from flutter/flutter to material_ui
(flutter/packages#11972)
2026-06-29 rmolivares@renzo-olivares.dev [cupertino_ui] Migrate
`button_test.dart` to `SemanticsHandle` (flutter/packages#11992)
2026-06-29 rmolivares@renzo-olivares.dev [cupertino_ui] Migrate
`radio_test.dart` to `SemanticsHandle` (flutter/packages#11981)
2026-06-29 rmolivares@renzo-olivares.dev [cupertino_ui] Migrate
`picker_test.dart` to `SemanticsHandle` (flutter/packages#12008)
2026-06-29 36861262+QuncCccccc@users.noreply.github.com [cupertino_ui]
Create util files. Remove widgets import in
`adaptive_text_selection_toolbar_test.dart` and
`text_selection_test.dart` (flutter/packages#12023)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `floating_action_button_test` (flutter/packages#12014)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `dropdown_test` (flutter/packages#12011)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `chip_test` (flutter/packages#12009)
2026-06-29 36861262+QuncCccccc@users.noreply.github.com [material_ui]
Remove widgets import in `data_table_test.dart`, `switch_test.dart` and
`tooltip_theme_test.dart` (flutter/packages#12031)
2026-06-29 burak.karahan@mail.ru [material_ui] Port flutter/flutter
flutter#186670 "Use local semantics tester in Material selection tests"
(flutter/packages#11983)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `switch_list_tile_test` (flutter/packages#12020)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `popup_menu_test` (flutter/packages#12018)
2026-06-29 21270878+elliette@users.noreply.github.com [material_ui]
Enable `date_range_picker_test` (flutter/packages#12010)
2026-06-29 stuartmorgan@google.com [google_sign_in] Simplify Android
user ID extraction (flutter/packages#12025)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App CICD Run CI/CD p: material_ui triage-framework Should be looked at in framework triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants