Terminal: find field takes the keyboard; docs, capture kit right-click
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,12 @@ void main() {
|
||||
await harness.focus(tester);
|
||||
await _openFind(tester);
|
||||
expect(find.byKey(_field), findsOneWidget);
|
||||
await tester.pump();
|
||||
// The field has the keyboard, which the terminal held.
|
||||
expect(
|
||||
tester.widget<TextField>(find.byKey(_field)).focusNode!.hasFocus,
|
||||
isTrue,
|
||||
);
|
||||
// The keys went to the find bar, not the shell.
|
||||
expect(harness.typed, isEmpty);
|
||||
await tester.enterText(find.byKey(_field), 'needle');
|
||||
|
||||
Reference in New Issue
Block a user