diff --git a/integration_test/e2e_test.dart b/integration_test/e2e_test.dart index 419db8e..5d32074 100644 --- a/integration_test/e2e_test.dart +++ b/integration_test/e2e_test.dart @@ -49,7 +49,7 @@ void testE2E(String description) { /// Create Praktica + Zenitar profile from scratch await tester.openSettings(); await tester.tapDescendantTextOf(S.current.equipmentProfiles); - await tester.tap(find.byIcon(Icons.add).first); + await tester.tap(find.byIcon(Icons.add_outlined).first); await tester.pumpAndSettle(); await tester.setProfileName(mockEquipmentProfiles[0].name); await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[0].name); @@ -63,7 +63,7 @@ void testE2E(String description) { expect(find.text('1/1000 - B'), findsOneWidget); /// Create Praktica + Jupiter profile from Zenitar profile - await tester.tap(find.byIcon(Icons.copy).first); + await tester.tap(find.byIcon(Icons.copy_outlined).first); await tester.pumpAndSettle(); await tester.setProfileName(mockEquipmentProfiles[1].name); await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[1].name); @@ -193,7 +193,7 @@ extension on WidgetTester { bool deselectAll = true, }) async { if (deselectAll) { - await tap(find.byIcon(Icons.deselect)); + await tap(find.byIcon(Icons.deselect_outlined)); await pump(); } for (final value in valuesToSelect) { diff --git a/screenshots/generate_screenshots.dart b/screenshots/generate_screenshots.dart index eaf1ea1..5cb78e4 100644 --- a/screenshots/generate_screenshots.dart +++ b/screenshots/generate_screenshots.dart @@ -104,7 +104,7 @@ void main() { await tester.pumpAndSettle(); await tester.takeScreenshotLight(binding, 'equipment-profiles'); - await tester.tap(find.byIcon(Icons.iso).first); + await tester.tap(find.byIcon(Icons.iso_outlined).first); await tester.pumpAndSettle(); await tester.takeScreenshotLight(binding, 'equipment-profiles-iso-picker'); }); diff --git a/test/screens/metering/components/shared/readings_container/shared/animated_dialog_test.dart b/test/screens/metering/components/shared/readings_container/shared/animated_dialog_test.dart index d4b83c6..f3ec1fa 100644 --- a/test/screens/metering/components/shared/readings_container/shared/animated_dialog_test.dart +++ b/test/screens/metering/components/shared/readings_container/shared/animated_dialog_test.dart @@ -79,7 +79,7 @@ extension WidgetTesterActions on WidgetTester { children: [ Expanded( child: AnimatedDialogPicker( - icon: Icons.iso, + icon: Icons.iso_outlined, title: '', subtitle: '', selectedValue: 0, diff --git a/test/screens/metering/components/shared/readings_container/shared/dialog_picker_test.dart b/test/screens/metering/components/shared/readings_container/shared/dialog_picker_test.dart index bd037af..9c69ead 100644 --- a/test/screens/metering/components/shared/readings_container/shared/dialog_picker_test.dart +++ b/test/screens/metering/components/shared/readings_container/shared/dialog_picker_test.dart @@ -51,7 +51,7 @@ extension WidgetTesterActions on WidgetTester { children: [ Expanded( child: AnimatedDialogPicker( - icon: Icons.iso, + icon: Icons.iso_outlined, title: '', subtitle: '', selectedValue: 0,