diff --git a/integration_test/e2e_test.dart b/integration_test/e2e_test.dart index 37f6838..66d6c71 100644 --- a/integration_test/e2e_test.dart +++ b/integration_test/e2e_test.dart @@ -2,6 +2,7 @@ import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; import 'package:lightmeter/data/models/ev_source_type.dart'; import 'package:lightmeter/data/models/metering_screen_layout_config.dart'; import 'package:lightmeter/data/shared_prefs_service.dart'; @@ -306,6 +307,8 @@ Future _expectMeteringState( expectExposurePairsListItem(tester, slowest.split(' - ')[0], slowest.split(' - ')[1]); expectMeasureButton(ev); expect(find.text(equipmentProfile.lensZoom.toZoom()), findsOneWidget); + await IntegrationTestWidgetsFlutterBinding.instance.takeScreenshot(''); + await tester.pumpAndSettle(); } Future _expectMeteringStateAndMeasure(