Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jBorkowska committed Nov 13, 2023
1 parent 3f03122 commit 9e8d15b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/patrol_finders/test/patrol_tester_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1039,13 +1039,12 @@ void main() {
expect($('count: 1'), findsOneWidget);
});

patrolWidgetTest('is not used by default', ($) async {
patrolWidgetTest('is used by default', ($) async {
await $.pumpWidget(appWithInfiniteAnimation);

await expectLater(
() => $(ElevatedButton).tap(),
throwsFlutterError,
);
await $('count: 0').waitUntilVisible();
await $(ElevatedButton).tap();
await $('count: 1').waitUntilVisible();
});
});
});
Expand Down

0 comments on commit 9e8d15b

Please sign in to comment.