mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Update sensor preview interactions
This commit is contained in:
@@ -74,12 +74,14 @@ void main() {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
await tester.pumpAndSettle();
|
await tester.pump();
|
||||||
|
|
||||||
await tester.tap(find.byIcon(Icons.more_vert));
|
await tester.tap(find.byIcon(Icons.more_vert));
|
||||||
await tester.pumpAndSettle();
|
await tester.pump();
|
||||||
|
await tester.pump(const Duration(milliseconds: 300));
|
||||||
await tester.tap(find.text('Customize fields'));
|
await tester.tap(find.text('Customize fields'));
|
||||||
await tester.pumpAndSettle();
|
await tester.pump();
|
||||||
|
await tester.pump(const Duration(milliseconds: 300));
|
||||||
|
|
||||||
expect(find.text('Customize WX Station'), findsOneWidget);
|
expect(find.text('Customize WX Station'), findsOneWidget);
|
||||||
expect(find.text('Live preview'), findsOneWidget);
|
expect(find.text('Live preview'), findsOneWidget);
|
||||||
|
|||||||
Reference in New Issue
Block a user