Update sensor preview interactions

This commit is contained in:
Janez T
2026-03-15 10:43:37 +01:00
parent e355f28ca9
commit 3bf4971279

View File

@@ -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);