Skip to content

[material_ui] Enable bottom_navigation_bar_test#12005

Merged
elliette merged 4 commits into
flutter:mainfrom
elliette:pr184297/bottom-navigation-bar-test
Jun 25, 2026
Merged

[material_ui] Enable bottom_navigation_bar_test#12005
elliette merged 4 commits into
flutter:mainfrom
elliette:pr184297/bottom-navigation-bar-test

Conversation

@elliette

@elliette elliette commented Jun 25, 2026

Copy link
Copy Markdown
Member

Port over bottom_navigation_bar_test from flutter/flutter#184279

  • Ports over feedback_tester.dart
  • Ports over bottom_navigation_bar_test

As part of this change, moved _findByTooltip (originally defined in navigation_bar_test) into new shared test/finders.dart (see flutter/flutter#186966 for details).

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 annotation from bottom_navigation_bar_test.dart, moves feedback_tester.dart to the local test directory, and extracts the findByTooltip helper function into a shared finders.dart file to be used by both bottom navigation and navigation bar tests. Feedback on the changes suggests removing a commented-out line in finders.dart and refactoring the tooltip message extraction to be more null-safe, preventing potential runtime crashes when both message and richMessage are null.

Comment thread packages/material_ui/test/finders.dart

@QuncCccccc QuncCccccc 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

@elliette elliette merged commit c1f7d92 into flutter:main Jun 25, 2026
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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