[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
This commit is contained in:
Jonah Williams
2024-10-15 13:37:09 -07:00
committed by GitHub
parent 19488bd6bd
commit 4505e00bf2

View File

@@ -23,6 +23,7 @@ void main() async {
flutterDriver = await FlutterDriver.connect();
nativeDriver = await AndroidNativeDriver.connect(flutterDriver);
await nativeDriver.configureForScreenshotTesting();
await flutterDriver.waitUntilFirstFrameRasterized();
});
tearDownAll(() async {