From 4505e00bf233aafb4d7bd513e1cd89f35057071e Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 15 Oct 2024 13:37:09 -0700 Subject: [PATCH] [devicelab] try waiting for first frame. (#156907) From testing locally, sometimes the first frame rasterization takes longer. Could be related to https://github.com/flutter/flutter/issues/156903 --- .../platform_view_blue_orange_gradient_main_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/integration_tests/native_driver_test/test_driver/platform_view_blue_orange_gradient_main_test.dart b/dev/integration_tests/native_driver_test/test_driver/platform_view_blue_orange_gradient_main_test.dart index 52e4239905..911c9311d3 100644 --- a/dev/integration_tests/native_driver_test/test_driver/platform_view_blue_orange_gradient_main_test.dart +++ b/dev/integration_tests/native_driver_test/test_driver/platform_view_blue_orange_gradient_main_test.dart @@ -23,6 +23,7 @@ void main() async { flutterDriver = await FlutterDriver.connect(); nativeDriver = await AndroidNativeDriver.connect(flutterDriver); await nativeDriver.configureForScreenshotTesting(); + await flutterDriver.waitUntilFirstFrameRasterized(); }); tearDownAll(() async {