Skip to content

Commit

Permalink
Add additional test for manual refresh button
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma committed Aug 2, 2023
1 parent 2898b14 commit 438beeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/widget_tests/sensor_widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ void main() {

final playButton = find.widgetWithIcon(ViamButton, Icons.play_arrow);
final pauseButton = find.widgetWithIcon(ViamButton, Icons.pause);
final refreshButton = find.widgetWithIcon(ViamButton, Icons.refresh);

expect(playButton, findsNothing);
expect(pauseButton, findsNothing);
expect(refreshButton, findsOneWidget);
});
});
}

0 comments on commit 438beeb

Please sign in to comment.