mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
synced outlined icons
This commit is contained in:
parent
aad335fbcf
commit
e4a228ea16
4 changed files with 6 additions and 6 deletions
|
@ -49,7 +49,7 @@ void testE2E(String description) {
|
||||||
/// Create Praktica + Zenitar profile from scratch
|
/// Create Praktica + Zenitar profile from scratch
|
||||||
await tester.openSettings();
|
await tester.openSettings();
|
||||||
await tester.tapDescendantTextOf<SettingsScreen>(S.current.equipmentProfiles);
|
await tester.tapDescendantTextOf<SettingsScreen>(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.pumpAndSettle();
|
||||||
await tester.setProfileName(mockEquipmentProfiles[0].name);
|
await tester.setProfileName(mockEquipmentProfiles[0].name);
|
||||||
await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[0].name);
|
await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[0].name);
|
||||||
|
@ -63,7 +63,7 @@ void testE2E(String description) {
|
||||||
expect(find.text('1/1000 - B'), findsOneWidget);
|
expect(find.text('1/1000 - B'), findsOneWidget);
|
||||||
|
|
||||||
/// Create Praktica + Jupiter profile from Zenitar profile
|
/// 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.pumpAndSettle();
|
||||||
await tester.setProfileName(mockEquipmentProfiles[1].name);
|
await tester.setProfileName(mockEquipmentProfiles[1].name);
|
||||||
await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[1].name);
|
await tester.expandEquipmentProfileContainer(mockEquipmentProfiles[1].name);
|
||||||
|
@ -193,7 +193,7 @@ extension on WidgetTester {
|
||||||
bool deselectAll = true,
|
bool deselectAll = true,
|
||||||
}) async {
|
}) async {
|
||||||
if (deselectAll) {
|
if (deselectAll) {
|
||||||
await tap(find.byIcon(Icons.deselect));
|
await tap(find.byIcon(Icons.deselect_outlined));
|
||||||
await pump();
|
await pump();
|
||||||
}
|
}
|
||||||
for (final value in valuesToSelect) {
|
for (final value in valuesToSelect) {
|
||||||
|
|
|
@ -104,7 +104,7 @@ void main() {
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
await tester.takeScreenshotLight(binding, 'equipment-profiles');
|
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.pumpAndSettle();
|
||||||
await tester.takeScreenshotLight(binding, 'equipment-profiles-iso-picker');
|
await tester.takeScreenshotLight(binding, 'equipment-profiles-iso-picker');
|
||||||
});
|
});
|
||||||
|
|
|
@ -79,7 +79,7 @@ extension WidgetTesterActions on WidgetTester {
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: AnimatedDialogPicker<int>(
|
child: AnimatedDialogPicker<int>(
|
||||||
icon: Icons.iso,
|
icon: Icons.iso_outlined,
|
||||||
title: '',
|
title: '',
|
||||||
subtitle: '',
|
subtitle: '',
|
||||||
selectedValue: 0,
|
selectedValue: 0,
|
||||||
|
|
|
@ -51,7 +51,7 @@ extension WidgetTesterActions on WidgetTester {
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: AnimatedDialogPicker<int>(
|
child: AnimatedDialogPicker<int>(
|
||||||
icon: Icons.iso,
|
icon: Icons.iso_outlined,
|
||||||
title: '',
|
title: '',
|
||||||
subtitle: '',
|
subtitle: '',
|
||||||
selectedValue: 0,
|
selectedValue: 0,
|
||||||
|
|
Loading…
Reference in a new issue