Skip to content

Commit

Permalink
Add info about not finishing
Browse files Browse the repository at this point in the history
  • Loading branch information
tenhobi authored Oct 2, 2023
1 parent e9949b4 commit 7243a27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/patrol/finders/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ can specify globally in [PatrolTesterConfig] or as argument to the `tap()`
method) and taps on the first widget as soon as it becomes visible. This lets
you get rid of fixed timeouts and test your app just like a real user would.

<Error>Note that `WidgetsFlutterBinding.ensureInitialized` and `FlutterError.onError`
MUST NOT be used in integration tests otherwise Patrol cannot fail after timeout.</Error>

If you wanted to tap on the third "Subscribe" text, you'd do:

```dart
Expand Down

0 comments on commit 7243a27

Please sign in to comment.