mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-08-26 15:06:43 +00:00
refined integration tests
This commit is contained in:
parent
d192bf7b36
commit
eafed6068f
1 changed files with 9 additions and 0 deletions
|
@ -72,6 +72,15 @@ void testLogbook(String description) {
|
||||||
),
|
),
|
||||||
findsOneWidget,
|
findsOneWidget,
|
||||||
);
|
);
|
||||||
|
expect(
|
||||||
|
find.descendant(
|
||||||
|
of: find.byWidgetPredicate(
|
||||||
|
(widget) => widget is PickerListTile && widget.title == S.current.film,
|
||||||
|
),
|
||||||
|
matching: find.text(mockFilms.first.name),
|
||||||
|
),
|
||||||
|
findsOneWidget,
|
||||||
|
);
|
||||||
await tester.openPickerAndSelect<Film>(S.current.film, S.current.notSet);
|
await tester.openPickerAndSelect<Film>(S.current.film, S.current.notSet);
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue