mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-04-05 17:10:41 +00:00
Compare commits
No commits in common. "6cd15e6f1f886cc6c2936ded0bee40bf4e20fd50" and "0b83f68eaa704e279cd909c7c610fcaa4086b31d" have entirely different histories.
6cd15e6f1f
...
0b83f68eaa
1 changed files with 11 additions and 14 deletions
|
@ -2,7 +2,6 @@ import 'dart:convert';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import 'package:integration_test/integration_test.dart';
|
|
||||||
import 'package:lightmeter/data/models/ev_source_type.dart';
|
import 'package:lightmeter/data/models/ev_source_type.dart';
|
||||||
import 'package:lightmeter/data/models/metering_screen_layout_config.dart';
|
import 'package:lightmeter/data/models/metering_screen_layout_config.dart';
|
||||||
import 'package:lightmeter/data/shared_prefs_service.dart';
|
import 'package:lightmeter/data/shared_prefs_service.dart';
|
||||||
|
@ -110,17 +109,17 @@ void testE2E(String description) {
|
||||||
);
|
);
|
||||||
|
|
||||||
/// Add ND to shoot another scene
|
/// Add ND to shoot another scene
|
||||||
// await tester.openPickerAndSelect<NdValuePicker, NdValue>('2');
|
await tester.openPickerAndSelect<NdValuePicker, NdValue>('2');
|
||||||
// await _expectMeteringStateAndMeasure(
|
await _expectMeteringStateAndMeasure(
|
||||||
// tester,
|
tester,
|
||||||
// equipmentProfile: mockEquipmentProfiles[0],
|
equipmentProfile: mockEquipmentProfiles[0],
|
||||||
// film: mockFilms[0],
|
film: mockFilms[0],
|
||||||
// fastest: 'f/1.8 - 1/200',
|
fastest: 'f/1.8 - 1/200',
|
||||||
// slowest: 'f/16 - 1/2.5',
|
slowest: 'f/16 - 1/2.5',
|
||||||
// iso: '400',
|
iso: '400',
|
||||||
// nd: '2',
|
nd: '2',
|
||||||
// ev: mockPhotoEv100 + 2 - 1,
|
ev: mockPhotoEv100 + 2 - 1,
|
||||||
// );
|
);
|
||||||
|
|
||||||
/// Select another lens without ND
|
/// Select another lens without ND
|
||||||
await tester.openPickerAndSelect<EquipmentProfilePicker, EquipmentProfile>(mockEquipmentProfiles[1].name);
|
await tester.openPickerAndSelect<EquipmentProfilePicker, EquipmentProfile>(mockEquipmentProfiles[1].name);
|
||||||
|
@ -307,8 +306,6 @@ Future<void> _expectMeteringState(
|
||||||
expectExposurePairsListItem(tester, slowest.split(' - ')[0], slowest.split(' - ')[1]);
|
expectExposurePairsListItem(tester, slowest.split(' - ')[0], slowest.split(' - ')[1]);
|
||||||
expectMeasureButton(ev);
|
expectMeasureButton(ev);
|
||||||
expect(find.text(equipmentProfile.lensZoom.toZoom()), findsOneWidget);
|
expect(find.text(equipmentProfile.lensZoom.toZoom()), findsOneWidget);
|
||||||
await IntegrationTestWidgetsFlutterBinding.instance.takeScreenshot('');
|
|
||||||
await tester.pumpAndSettle();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _expectMeteringStateAndMeasure(
|
Future<void> _expectMeteringStateAndMeasure(
|
||||||
|
|
Loading…
Reference in a new issue