fillField method
Tap a form field, enter text into it, and settle.
Combines the tap-focus, text-entry, and settle steps into one call.
Named fillField to avoid confusion with Flutter's enterText.
Example:
await tester.fillField(find.byKey(Key('email')), 'test@example.com');
await tester.fillField(find.byKey(Key('password')), 'secret123');
Implementation
Future<void> fillField(Finder finder, String text) async {
await tap(finder);
await pump();
await enterText(finder, text);
await settle();
}