Unverified Commit 96426230 authored by Tomasz Gucio's avatar Tomasz Gucio Committed by GitHub

Specify widget height in EditableText shortcuts tests (#98607)

parent 95d1fabe
...@@ -69,6 +69,7 @@ void main() { ...@@ -69,6 +69,7 @@ void main() {
child: SizedBox( child: SizedBox(
// Softwrap at exactly 20 characters. // Softwrap at exactly 20 characters.
width: 201, width: 201,
height: 200,
child: EditableText( child: EditableText(
controller: controller, controller: controller,
showSelectionHandles: true, showSelectionHandles: true,
...@@ -118,7 +119,7 @@ void main() { ...@@ -118,7 +119,7 @@ void main() {
expect(controller.selection, const TextSelection.collapsed(offset: -1), reason: activator.toString()); 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(), variant: TargetPlatformVariant.all(),
); );
...@@ -1627,7 +1628,7 @@ void main() { ...@@ -1627,7 +1628,7 @@ void main() {
}); });
}); });
}, },
skip: kIsWeb, // [intended] skip: kIsWeb, // [intended] on web these keys are handled by the browser.
); );
group('macOS shortcuts', () { group('macOS shortcuts', () {
...@@ -1796,5 +1797,5 @@ void main() { ...@@ -1796,5 +1797,5 @@ void main() {
affinity: TextAffinity.upstream, affinity: TextAffinity.upstream,
)); ));
}, variant: macOSOnly); }, variant: macOSOnly);
}); }, skip: kIsWeb); // [intended] on web these keys are handled by the browser.
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment