mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 07:50:42 +00:00
fixed tests
This commit is contained in:
parent
01471e6638
commit
1bd26e0ff3
3 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ void main() {
|
||||||
await pumpApplication(tester);
|
await pumpApplication(tester);
|
||||||
expectReadingValueContainerText(S.current.equipmentProfile);
|
expectReadingValueContainerText(S.current.equipmentProfile);
|
||||||
await tester.openAnimatedPicker<EquipmentProfilePicker>();
|
await tester.openAnimatedPicker<EquipmentProfilePicker>();
|
||||||
expect(find.byIcon(Icons.camera), findsOneWidget);
|
expect(find.byIcon(Icons.camera_outlined), findsOneWidget);
|
||||||
expectDialogPickerText<EquipmentProfile>(S.current.equipmentProfile);
|
expectDialogPickerText<EquipmentProfile>(S.current.equipmentProfile);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
@ -38,7 +38,7 @@ void main() {
|
||||||
await pumpApplication(tester);
|
await pumpApplication(tester);
|
||||||
expectReadingValueContainerText(S.current.iso);
|
expectReadingValueContainerText(S.current.iso);
|
||||||
await tester.openAnimatedPicker<IsoValuePicker>();
|
await tester.openAnimatedPicker<IsoValuePicker>();
|
||||||
expect(find.byIcon(Icons.iso), findsOneWidget);
|
expect(find.byIcon(Icons.iso_outlined), findsOneWidget);
|
||||||
expectDialogPickerText<IsoValue>(S.current.iso);
|
expectDialogPickerText<IsoValue>(S.current.iso);
|
||||||
expectDialogPickerText<IsoValue>(S.current.filmSpeed);
|
expectDialogPickerText<IsoValue>(S.current.filmSpeed);
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,7 +38,7 @@ void main() {
|
||||||
await pumpApplication(tester);
|
await pumpApplication(tester);
|
||||||
expectReadingValueContainerText(S.current.nd);
|
expectReadingValueContainerText(S.current.nd);
|
||||||
await tester.openAnimatedPicker<NdValuePicker>();
|
await tester.openAnimatedPicker<NdValuePicker>();
|
||||||
expect(find.byIcon(Icons.filter_b_and_w), findsOneWidget);
|
expect(find.byIcon(Icons.filter_b_and_w_outlined), findsOneWidget);
|
||||||
expectDialogPickerText<NdValue>(S.current.nd);
|
expectDialogPickerText<NdValue>(S.current.nd);
|
||||||
expectDialogPickerText<NdValue>(S.current.ndFilterFactor);
|
expectDialogPickerText<NdValue>(S.current.ndFilterFactor);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue