mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-04-04 08:30:41 +00:00
returned diagnostic screenshots
This commit is contained in:
parent
0b83f68eaa
commit
4a1b1c2320
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@ 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';
|
||||||
|
@ -306,6 +307,8 @@ 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