Specify widget height in EditableText shortcuts tests (#98607)

This commit is contained in:
Tomasz Gucio 2022-03-03 01:26:14 +01:00 committed by GitHub
parent 95d1fabe59
commit 96426230af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
}