Fix the first frame logic in tracing and driver (#35297)

This should fix https://github.com/flutter/flutter/issues/31442 and https://github.com/flutter/flutter/issues/34867
This commit is contained in:
liyuqian
2019-07-26 09:38:12 -07:00
committed by GitHub
parent 2e43b47008
commit 68fc7231b3
11 changed files with 103 additions and 14 deletions

View File

@@ -13,6 +13,9 @@ void main() {
setUpAll(() async {
driver = await FlutterDriver.connect();
// TODO(liyuqian): enable the following once it's proved to be non-flaky by transition_perf_test.dart.
// await driver.waitUntilFirstFrameRasterized();
});
tearDownAll(() async {