diff --git a/screenshots/generate_screenshots.dart b/screenshots/generate_screenshots.dart index 4c8bcd6..1c35a0c 100644 --- a/screenshots/generate_screenshots.dart +++ b/screenshots/generate_screenshots.dart @@ -15,7 +15,6 @@ import 'package:lightmeter/data/shared_prefs_service.dart'; import 'package:lightmeter/generated/l10n.dart'; import 'package:lightmeter/res/dimens.dart'; import 'package:lightmeter/res/theme.dart'; -import 'package:lightmeter/screens/equipment_profiles/screen_equipment_profiles.dart'; import 'package:lightmeter/screens/metering/components/shared/exposure_pairs_list/widget_list_exposure_pairs.dart'; import 'package:lightmeter/screens/metering/components/shared/readings_container/components/iso_picker/widget_picker_iso.dart'; import 'package:lightmeter/screens/metering/screen_metering.dart'; @@ -118,7 +117,7 @@ void main() { await tester.tapDescendantTextOf(S.current.equipmentProfiles); await tester.pumpAndSettle(); - await tester.tapDescendantTextOf(mockEquipmentProfiles.first.name); + await tester.tap(find.byIcon(Icons.edit_outlined).first); await tester.pumpAndSettle(); await tester.takeScreenshotLight(binding, 'equipment-profiles');