Skip to content

Commit

Permalink
Fix autocomplete lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Apr 23, 2024
1 parent 0cab842 commit cc69145
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:eduapge2/api.dart';
import 'package:eduapge2/firebase_options.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_remote_config/firebase_remote_config.dart';
Expand Down Expand Up @@ -99,10 +100,10 @@ void main() {

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

await tester.tap(find.byType(Autocomplete));
await tester.tap(find.byType(Autocomplete<Recipient>));
await pumpUntilFound(tester, find.byType(TextFormField));

expect(find.byType(Autocomplete), findsOneWidget);
expect(find.byType(Autocomplete<Recipient>), findsOneWidget);
expect(find.byType(TextFormField), findsOneWidget);

await tester.enterText(find.byType(TextFormField), name);
Expand Down

0 comments on commit cc69145

Please sign in to comment.