Update generate_screenshots.dart

This commit is contained in:
Vadim 2023-09-28 16:15:39 +02:00
parent 0750be745e
commit a09173441d

View file

@ -223,6 +223,7 @@ extension on WidgetTester {
Future<void> takePhoto() async { Future<void> takePhoto() async {
await tap(find.byType(MeteringMeasureButton)); await tap(find.byType(MeteringMeasureButton));
await pump(const Duration(seconds: 2)); // wait for circular progress indicator await pump(const Duration(seconds: 2)); // wait for circular progress indicator
await pump(const Duration(seconds: 1)); // wait for circular progress indicator
await pumpAndSettle(); await pumpAndSettle();
} }