From 465288588f4ea3acae116f942be43b22faf430b6 Mon Sep 17 00:00:00 2001 From: Yegor Date: Wed, 15 Nov 2023 12:58:53 -0800 Subject: [PATCH] [web] skip flaky overflow_clipbehavior_none.cupertino.0.png golden check (#138498) Skipping the test due to https://github.com/flutter/flutter/issues/137669. It's not clear which PR started it, so we can't revert anything, and the fix is not yet clear either. However, the flakiness is very high and is disruptive to the Flutter team. --- packages/flutter/test/cupertino/text_field_test.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/flutter/test/cupertino/text_field_test.dart b/packages/flutter/test/cupertino/text_field_test.dart index 75c7488d3a..76d26a551f 100644 --- a/packages/flutter/test/cupertino/text_field_test.dart +++ b/packages/flutter/test/cupertino/text_field_test.dart @@ -8411,10 +8411,13 @@ void main() { final EditableText editableText = tester.firstWidget(find.byType(EditableText)); expect(editableText.clipBehavior, Clip.none); - await expectLater( - find.byKey(const ValueKey(1)), - matchesGoldenFile('overflow_clipbehavior_none.cupertino.0.png'), - ); + // TODO(harryterkelsen): see https://github.com/flutter/flutter/issues/137669 + if (!kIsWeb || !isCanvasKit) { + await expectLater( + find.byKey(const ValueKey(1)), + matchesGoldenFile('overflow_clipbehavior_none.cupertino.0.png'), + ); + } }); testWidgetsWithLeakTracking('can shift + tap to select with a keyboard (Apple platforms)', (WidgetTester tester) async {