Skip to content

Commit

Permalink
Fix some wrong key sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
bleroux committed Feb 21, 2024
1 parent e691037 commit dc695cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/keyboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ extension KeyboardInput on WidgetTester {
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.arrowLeft, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.arrowLeft, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.shift, platform: _keyEventPlatform);
await pumpAndSettle();
}
Expand Down Expand Up @@ -545,7 +545,7 @@ extension KeyboardInput on WidgetTester {
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.arrowUp, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.arrowUp, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.shift, platform: _keyEventPlatform);
await pumpAndSettle();
}
Expand Down Expand Up @@ -594,7 +594,7 @@ extension KeyboardInput on WidgetTester {
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.arrowDown, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.arrowDown, platform: _keyEventPlatform);
await sendKeyDownEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.alt, platform: _keyEventPlatform);
await sendKeyUpEvent(LogicalKeyboardKey.shift, platform: _keyEventPlatform);
await pumpAndSettle();
}
Expand Down

0 comments on commit dc695cb

Please sign in to comment.