From 0b51db642c51cdd5e71758042af2877dc7edde3a Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:45:39 +0200 Subject: [PATCH] ML-126 Automate screenshots creation (#128) * generate screenshots with ep set to None --- integration_test/generate_screenshots.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_test/generate_screenshots.dart b/integration_test/generate_screenshots.dart index 510c7fb..2c28d42 100644 --- a/integration_test/generate_screenshots.dart +++ b/integration_test/generate_screenshots.dart @@ -115,7 +115,7 @@ void main() { IAPProviders( sharedPreferences: _MockSharedPreferences(), child: EquipmentProfiles( - selected: _mockEquipmentProfiles[1], + selected: _mockEquipmentProfiles[0], values: _mockEquipmentProfiles, child: Films( selected: const Film('Ilford HP5+', 400), @@ -264,12 +264,12 @@ final _mockEquipmentProfiles = [ name: 'Praktica + Zenitar', apertureValues: ApertureValue.values.sublist( ApertureValue.values.indexOf(const ApertureValue(1.7, StopType.half)), - ApertureValue.values.indexOf(const ApertureValue(16, StopType.full)), + ApertureValue.values.indexOf(const ApertureValue(16, StopType.full)) + 1, ), ndValues: NdValue.values.sublist(0, 3), shutterSpeedValues: ShutterSpeedValue.values.sublist( ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(1000, true, StopType.full)), - ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(16, false, StopType.full)), + ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(16, false, StopType.full)) + 1, ), isoValues: const [ IsoValue(50, StopType.full),