Add logging when first frame is not rendering (#99566)

This commit is contained in:
Jenn Magder
2022-03-04 17:16:21 -08:00
committed by GitHub
parent f1d88586e0
commit 7596a3daf6
2 changed files with 20 additions and 4 deletions

View File

@@ -232,7 +232,8 @@ void main() {
return completer.future;
});
expect(logger.statusText, contains('First frame is taking longer than expected'));
expect(logger.traceText, contains('id: 1 isolate: null'));
expect(logger.traceText, contains('View ID: 1'));
expect(logger.traceText, contains('No isolate ID associated with the view'));
expect(logger.traceText, contains('Flutter.Error: [ExtensionData {test: data, renderedErrorText: error text}]'));
});