Add tests for material banner example#147733
Add tests for material banner example#147733auto-submit[bot] merged 10 commits intoflutter:masterfrom derdilla:130459-material_banner-test
Conversation
bleroux
left a comment
There was a problem hiding this comment.
Thanks for adding these valuable tests.
Just one small comment about capitalizing test descriptions first letter.
bleroux
left a comment
There was a problem hiding this comment.
LGTM! Thanks for adding those tests.
Taha and I are attending Google/IO this week, expect slow review, we will catch up on reviews next week.
|
@NobodyForNothing Thanks for your patience, can you rebase this PR and solve the conflict if there is still one? |
|
Thanks for the rebase. |
TahaTesser
left a comment
There was a problem hiding this comment.
LGTM! Just minor format issues
| void main() { | ||
| testWidgets('Shows all elements', (WidgetTester tester) async { | ||
| await tester.pumpWidget( | ||
| const example.MaterialBannerExampleApp() |
There was a problem hiding this comment.
| const example.MaterialBannerExampleApp() | |
| const example.MaterialBannerExampleApp(), |
|
|
||
| testWidgets('The banner is below the text saying so', (WidgetTester tester) async { | ||
| await tester.pumpWidget( | ||
| const example.MaterialBannerExampleApp() |
There was a problem hiding this comment.
| const example.MaterialBannerExampleApp() | |
| const example.MaterialBannerExampleApp(), |
| final MaterialBanner banner = tester.widget<MaterialBanner>( | ||
| find.byType(MaterialBanner)); |
There was a problem hiding this comment.
| final MaterialBanner banner = tester.widget<MaterialBanner>( | |
| find.byType(MaterialBanner)); | |
| final MaterialBanner banner = tester.widget<MaterialBanner>( | |
| find.byType(MaterialBanner), | |
| ); |
Co-authored-by: Taha Tesser <[email protected]>
flutter/flutter@8d955cd...8dd0831 2024-05-24 [email protected] Roll Flutter Engine from c6041cd9049c to 4ab442475223 (1 revision) (flutter/flutter#149039) 2024-05-24 [email protected] Roll Flutter Engine from 8d896f4feb76 to c6041cd9049c (1 revision) (flutter/flutter#149035) 2024-05-24 [email protected] Roll Flutter Engine from fe3b26294d8f to 8d896f4feb76 (1 revision) (flutter/flutter#149030) 2024-05-24 [email protected] Roll Flutter Engine from b4fb08f21757 to fe3b26294d8f (1 revision) (flutter/flutter#149028) 2024-05-24 [email protected] Roll Flutter Engine from f873230ce823 to b4fb08f21757 (2 revisions) (flutter/flutter#149025) 2024-05-24 [email protected] Roll Flutter Engine from d78f66753332 to f873230ce823 (1 revision) (flutter/flutter#149021) 2024-05-24 [email protected] Roll Flutter Engine from 768c90ee5dc7 to d78f66753332 (3 revisions) (flutter/flutter#149011) 2024-05-23 [email protected] Reland "Update `FocusManager` platform check to include iOS" (flutter/flutter#148984) 2024-05-23 [email protected] Roll Flutter Engine from ad12c5d02a8c to 768c90ee5dc7 (2 revisions) (flutter/flutter#149003) 2024-05-23 [email protected] Fix `SnackBar` action text button overlay color (flutter/flutter#148961) 2024-05-23 [email protected] Fix the second TextFormField to trigger onTapOutside (flutter/flutter#148930) 2024-05-23 [email protected] Roll Flutter Engine from 2a48302f6f4e to ad12c5d02a8c (3 revisions) (flutter/flutter#148993) 2024-05-23 [email protected] Roll Flutter Engine from 964f087f288c to 2a48302f6f4e (1 revision) (flutter/flutter#148950) 2024-05-23 [email protected] [wiki migration] Remaining pages under docs/contributing/ (flutter/flutter#148790) 2024-05-23 [email protected] [wiki migration] Web team pages (flutter/flutter#148777) 2024-05-23 [email protected] Test remaining transitions api examples (flutter/flutter#148302) 2024-05-23 [email protected] Test snack bar examples (flutter/flutter#147774) 2024-05-23 [email protected] Add tests for material banner example (flutter/flutter#147733) 2024-05-23 [email protected] Roll Packages from 6525441 to 1008d9e (6 revisions) (flutter/flutter#148980) 2024-05-23 [email protected] Revert "const vs. non-const widget build benchmark" (flutter/flutter#148970) 2024-05-23 [email protected] Remove hidden dependencies on HttpClient (flutter/flutter#148773) 2024-05-23 [email protected] Revert "Update `FocusManager` platform check to include iOS" (flutter/flutter#148978) 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 Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: 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 #130459.
Pre-launch Checklist
///).