-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add test for animated list example #156452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for animated list example #156452
Conversation
bleroux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great test addition, thanks! 🙏
(Two very minor nits before merging).
| expect(find.text('Item 1'), findsOne); | ||
| expect(find.text('Item 2'), findsOne); | ||
|
|
||
| // Add an item at the end of the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // Add an item at the end of the list | |
| // Add an item at the end of the list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated them in test: Add test for animated list example :)
| await tester.tap(find.text('Item 1')); | ||
| await tester.pumpAndSettle(); | ||
|
|
||
| // Add item at the top of the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // Add item at the top of the list | |
| // Add item at the top of the list. |
flutter/flutter@2d45fb3...6790525 2024-10-10 engine-flutter-autoroll@skia.org Roll Packages from 9d00fb1 to f1a3da2 (5 revisions) (flutter/flutter#156538) 2024-10-10 stuartmorgan@google.com Update Android plugin templates for newer AGP (flutter/flutter#156533) 2024-10-10 dacoharkes@google.com Flutter templates example app Gradle memory settings (flutter/flutter#156201) 2024-10-10 engine-flutter-autoroll@skia.org Roll Flutter Engine from 3a95d6e1ddbf to 590babc1581b (1 revision) (flutter/flutter#156498) 2024-10-10 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Unskip cupertino datepicker tests (flutter/flutter#156499) 2024-10-10 32538273+ValentinVignal@users.noreply.github.com Add test for animated list example (flutter/flutter#156452) 2024-10-09 engine-flutter-autoroll@skia.org Roll Flutter Engine from fb0b59d9438b to 3a95d6e1ddbf (1 revision) (flutter/flutter#156492) 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 camillesimon@google.com,stuartmorgan@google.com 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
Contributes to #130459
It adds a test for
examples/api/lib/widgets/animated_list/animated_list.0.dartPre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.