Skip flaking test on Windows nobody is fixing. (flutter/engine#50401)

Filed https://github.com/flutter/flutter/issues/142991 to re-enable.
This commit is contained in:
Matan Lurey
2024-02-06 10:23:06 -08:00
committed by GitHub
parent 911b1400ea
commit 4ed520b2af

View File

@@ -2620,8 +2620,9 @@ void _testClickDebouncer({required PointerBinding Function() getBinding}) {
void testWithSemantics(
String description,
Future<void> Function() body,
) {
Future<void> Function() body, {
Object? skip,
}) {
test(
description,
() async {
@@ -2631,6 +2632,7 @@ void _testClickDebouncer({required PointerBinding Function() getBinding}) {
await body();
EngineSemantics.instance.semanticsEnabled = false;
},
skip: skip,
);
}
@@ -2913,8 +2915,8 @@ void _testClickDebouncer({required PointerBinding Function() getBinding}) {
semanticsActions,
isEmpty,
);
});
// TODO(yjbanov): https://github.com/flutter/flutter/issues/142991.
}, skip: operatingSystem == OperatingSystem.windows);
testWithSemantics('Forwards click if enough time passed after the last flushed pointerup', () async {
expect(EnginePlatformDispatcher.instance.semanticsEnabled, true);