Reserve global shortcuts for chat selection and search
This commit is contained in:
@@ -99,7 +99,9 @@ void main() {
|
||||
expect(exits, ['SystemNavigator.pop']);
|
||||
});
|
||||
|
||||
testWidgets('Ctrl+Tab tab changes are part of the history', (tester) async {
|
||||
testWidgets('Ctrl+Tab no longer switches destinations or changes history', (
|
||||
tester,
|
||||
) async {
|
||||
final exits = _recordExits(tester);
|
||||
await tester.pumpWidget(
|
||||
MaterialApp(home: AdaptiveShell(destinationBodies: _bodies())),
|
||||
@@ -108,11 +110,11 @@ void main() {
|
||||
await tester.sendKeyEvent(LogicalKeyboardKey.tab);
|
||||
await tester.sendKeyUpEvent(LogicalKeyboardKey.controlLeft);
|
||||
await tester.pumpAndSettle();
|
||||
_expectShown(AppDestination.runs);
|
||||
_expectShown(AppDestination.pipelines);
|
||||
|
||||
await _back(tester);
|
||||
_expectShown(AppDestination.pipelines);
|
||||
expect(exits, isEmpty);
|
||||
expect(exits, ['SystemNavigator.pop']);
|
||||
});
|
||||
|
||||
testWidgets('a page open in the tab closes before Back changes tabs', (
|
||||
|
||||
Reference in New Issue
Block a user