Skip to content

Commit

Permalink
Fix issue tapping 'Select recipient'
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Apr 23, 2024
1 parent 6f327ca commit 0cab842
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ void main() {

expect(find.text("Select recipient"), findsOneWidget);

await tester.tap(find.text("Select recipient"));
await pumpUntilFound(tester, find.byType(Autocomplete));
await tester.tap(find.byType(Autocomplete));
await pumpUntilFound(tester, find.byType(TextFormField));

expect(find.byType(Autocomplete), findsOneWidget);
expect(find.byType(TextFormField), findsOneWidget);

await tester.enterText(find.byType(TextField), name);
await tester.enterText(find.byType(TextFormField), name);
await tester.pump(const Duration(seconds: 1));

await tester.tap(find.byType(ListTile).at(0));
Expand Down

0 comments on commit 0cab842

Please sign in to comment.