flutter/dev/devicelab/lib/tasks
Loïc Sharma b65ff54de2
Improve log output of keyboard_hot_restart_ios (#167834)
The keyboard hot restart test listens to `flutter run` logs and then
does an action. However, the test prints the `flutter run` log after the
action. This results in confusing logs.

For example:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8716606099574306145/+/u/run_keyboard_hot_restart_ios/stdout

```
═══════════╡ ••• Launch app and wait for keyboard to be visible ••• ╞═══════════
...
stdout: Installing and launching...                                        37.2s
stdout: Syncing files to device swarming’s iPhone...                    


════╡ ••• Update the app to no longer force the keyboard to be visible ••• ╞════



════════════════════════╡ ••• Hot restart the app ••• ╞═════════════════════════



════════════╡ ••• Wait until the keyboard is no longer visible ••• ╞════════════

stdout: flutter: Keyboard is open
```

Here, the test waits until the keyboard is visible before moving onto
the test's next step. However, the log that triggers this action
(`flutter: Keyboard is open`) is printed after the action was taken
(`Update the app to no longer force the keyboard to be visible` and
`Wait until the keyboard is no longer visible`). This is confusing.

Follow-up to: https://github.com/flutter/flutter/pull/167013
Part of: https://github.com/flutter/flutter/issues/10713
2025-04-25 21:39:52 +00:00
..
analysis.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
android_choreographer_do_frame_test.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
android_lifecycles_test.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
android_views_test.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
build_test_task.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
dart_plugin_registry_tests.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
entrypoint_dart_registrant.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
flutter_tool_startup.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
gallery.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
hot_mode_tests.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
integration_tests.dart Get flavor/scheme in assemble command from the build configuration (#162907) 2025-02-19 20:37:35 +00:00
keyboard_hot_restart_test.dart Improve log output of keyboard_hot_restart_ios (#167834) 2025-04-25 21:39:52 +00:00
microbenchmarks.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
native_assets_test.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
new_gallery.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
perf_tests.dart iOS: Update minimum iOS version to 13.0 (#167737) 2025-04-24 20:15:13 +00:00
platform_channels_benchmarks.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
plugin_tests.dart iOS: Update minimum iOS version to 13.0 (#167737) 2025-04-24 20:15:13 +00:00
run_tests.dart Reapply "[ Device Lab ] Upgrade Device Lab projects to Java 18" (#166016) (#166059) 2025-03-27 15:07:22 +00:00
web_benchmarks.dart Adding macrobenchmarks for DDC (#166617) 2025-04-16 03:29:36 +00:00
web_dev_mode_tests.dart Fix failing chrome_dev_mode tests (#163346) 2025-02-14 22:08:26 +00:00