Allow leaks around tap down/up, while flackiness is not fixed. (#136133)

This commit is contained in:
Polina Cherkasova 2023-10-07 11:22:53 -07:00 committed by GitHub
parent 5207a309e8
commit 74f8b4f777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,11 @@ void main() {
final Container decoyLaterContainer = tester.firstElement(findBuilderDecoyChild()).widget as Container;
final BoxDecoration? decoyLaterDecoration = decoyLaterContainer.decoration as BoxDecoration?;
expect(decoyLaterDecoration?.borderRadius, isNot(equals(BorderRadius.circular(0))));
});
},
// TODO(polina-c): remove after fixing flakiness
// https://github.com/flutter/flutter/issues/136132
leakTrackingTestConfig: const LeakTrackingTestConfig(notDisposedAllowList: <String, int?>{'ValueNotifier<_OverlayEntryWidgetState?>' : 1}),
);
testWidgetsWithLeakTracking('Hovering over Cupertino context menu updates cursor to clickable on Web', (WidgetTester tester) async {
final Widget child = getChild();