From 82f0cf4f5514d4ad96af638bd52e9db304cf50ac Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sun, 9 Feb 2025 22:33:59 +0100 Subject: [PATCH] fixed equipment profiles find --- screenshots/generate_screenshots.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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');