@@ -157,6 +157,7 @@ void main() {
157157 findsOneWidget,
158158 );
159159
160+ // Make sure NO Flutter-specific information is included:
160161 expect (
161162 markdownFinder ('The Flutter framework emits timeline events' ),
162163 findsNothing,
@@ -186,6 +187,7 @@ void main() {
186187 findsOneWidget,
187188 );
188189
190+ // Make sure Flutter-specific information is included:
189191 expect (
190192 markdownFinder ('The Flutter framework emits timeline events' ),
191193 findsOneWidget,
@@ -220,10 +222,10 @@ void main() {
220222 await tester.runAsync (() async {
221223 await pumpPerformanceScreen (tester, runAsync: true );
222224 await tester.pumpAndSettle ();
223-
224225 final chartButtonFinder = find.byType (VisibilityButton );
225226 expect (chartButtonFinder, findsOneWidget);
226227
228+ // The flutter frames chart is visible.
227229 expect (find.byType (FramesChartControls ), findsOneWidget);
228230 expect (
229231 preferences.performance.showFlutterFramesChart.value,
@@ -232,7 +234,7 @@ void main() {
232234
233235 await tester.tap (chartButtonFinder);
234236 await tester.pumpAndSettle ();
235-
237+ // The flutter frames chart should no longer be visible.
236238 expect (find.byType (FramesChartControls ), findsNothing);
237239 expect (
238240 preferences.performance.showFlutterFramesChart.value,
@@ -242,6 +244,7 @@ void main() {
242244 await tester.tap (chartButtonFinder);
243245 await tester.pumpAndSettle ();
244246
247+ // The flutter frames chart should be visible again.
245248 expect (find.byType (FramesChartControls ), findsOneWidget);
246249 expect (
247250 preferences.performance.showFlutterFramesChart.value,
0 commit comments