Screenshotter: Add a delay

Our runApp seems to take some time now.
This commit is contained in:
Vishesh Handa
2019-11-03 01:47:11 +01:00
parent 765b761430
commit 877b68dbbd

View File

@ -11,6 +11,7 @@ void main() {
// Connect to the Flutter driver before running any tests
setUpAll(() async {
driver = await FlutterDriver.connect();
await Future.delayed(const Duration(seconds: 5));
});
// Close the connection to the driver after the tests have completed