From 96426230af1c497b9cf034ea335e1734c4b3a6d3 Mon Sep 17 00:00:00 2001 From: Tomasz Gucio <72562119+tgucio@users.noreply.github.com> Date: Thu, 3 Mar 2022 01:26:14 +0100 Subject: [PATCH] Specify widget height in EditableText shortcuts tests (#98607) --- ...rtcuts_tests.dart => editable_text_shortcuts_test.dart} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename packages/flutter/test/widgets/{editable_text_shortcuts_tests.dart => editable_text_shortcuts_test.dart} (99%) diff --git a/packages/flutter/test/widgets/editable_text_shortcuts_tests.dart b/packages/flutter/test/widgets/editable_text_shortcuts_test.dart similarity index 99% rename from packages/flutter/test/widgets/editable_text_shortcuts_tests.dart rename to packages/flutter/test/widgets/editable_text_shortcuts_test.dart index 6941c25a37..47dc7d1f23 100644 --- a/packages/flutter/test/widgets/editable_text_shortcuts_tests.dart +++ b/packages/flutter/test/widgets/editable_text_shortcuts_test.dart @@ -69,6 +69,7 @@ void main() { child: SizedBox( // Softwrap at exactly 20 characters. width: 201, + height: 200, child: EditableText( controller: controller, showSelectionHandles: true, @@ -118,7 +119,7 @@ void main() { expect(controller.selection, const TextSelection.collapsed(offset: -1), reason: activator.toString()); } }, - skip: kIsWeb, // [intended] + skip: kIsWeb, // [intended] on web these keys are handled by the browser. variant: TargetPlatformVariant.all(), ); @@ -1627,7 +1628,7 @@ void main() { }); }); }, - skip: kIsWeb, // [intended] + skip: kIsWeb, // [intended] on web these keys are handled by the browser. ); group('macOS shortcuts', () { @@ -1796,5 +1797,5 @@ void main() { affinity: TextAffinity.upstream, )); }, variant: macOSOnly); - }); + }, skip: kIsWeb); // [intended] on web these keys are handled by the browser. }