mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Trying to figure out if flake reports https://github.com/flutter/flutter/issues/162362 and https://github.com/flutter/flutter/issues/162363 are related to https://github.com/flutter/flutter/issues/162310. I was unable to reproduce locally: ```sh dart tool/deflake.dart lib/platform_view/hybrid_composition_platform_view_main.dart ``` ... so either the Mac Android emulators don't show this behavior, or perhaps its just the slowness of CI VMs. Either way, this should try taking a screenshot 2 more times (which has built-in waits/sleeps), so if the problem persists that means there is a more critical HC problem (the screen is _always_ drawn black sometimes) versus a more transient problem (it "takes longer").
Automated Flutter integration test suites
Each suite consists of either a complete Flutter app and a flutter_driver
specification that drives tests from the UI, or a native app that is meant to
integrate with Flutter for testing.
Intended for use with devicelab tests.
If you want to run a driver test locally, to debug a problem with a test, you can use this command from the appropriate subdirectory:
flutter drive -t <test> --driver <driver>
For example:
flutter drive -t lib/keyboard_resize.dart --driver test_driver/keyboard_resize_test.dart